InkToolbarStencilButton
struct · ferroui-controls-inking · v0.5.0
struct InkToolbarStencilButton
Members
TYPEto_refruler_propertyprotractor_propertyselected_stencil_propertyis_ruler_item_visible_propertyis_protractor_item_visible_propertyconstructnewrulerprotractorselected_stencilset_selected_stencilis_ruler_item_visibleset_is_ruler_item_visibleis_protractor_item_visibleset_is_protractor_item_visible
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<InkToolbarStencilButton>
Returns a strong reference to this object.
ruler_property
fn ruler_property() -> &'static DirectProperty<InkToolbarStencilButton, Option<Rc<super::InkPresenterRuler>>>
protractor_property
fn protractor_property() -> &'static DirectProperty<InkToolbarStencilButton, Option<Rc<super::InkPresenterProtractor>>>
selected_stencil_property
fn selected_stencil_property() -> &'static StyledProperty<InkToolbarStencilKind>
is_ruler_item_visible_property
fn is_ruler_item_visible_property() -> &'static StyledProperty<bool>
is_protractor_item_visible_property
fn is_protractor_item_visible_property() -> &'static StyledProperty<bool>
construct
fn construct() -> Self
new
fn new() -> Ref<Self>
ruler
fn ruler(self: &Self) -> Option<Rc<super::InkPresenterRuler>>
protractor
fn protractor(self: &Self) -> Option<Rc<super::InkPresenterProtractor>>
selected_stencil
fn selected_stencil(self: &Self) -> InkToolbarStencilKind
set_selected_stencil
fn set_selected_stencil(self: &Self, value: InkToolbarStencilKind)
is_ruler_item_visible
fn is_ruler_item_visible(self: &Self) -> bool
set_is_ruler_item_visible
fn set_is_ruler_item_visible(self: &Self, value: bool)
is_protractor_item_visible
fn is_protractor_item_visible(self: &Self) -> bool
set_is_protractor_item_visible
fn set_is_protractor_item_visible(self: &Self, value: bool)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherTemplatedControlImplExtToggleButtonImplExtContentControlImplExtControlImplExtButtonImplExtIUnknownImplDerefUpcast<T>Upcast<InkToolbarStencilButton>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplVisualImplLayoutableImplInteractiveImplControlImplTemplatedControlImplContentControlImplInputElementImplToggleButtonImplButtonImplFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.