CommandBarSeparator
struct · ferroui-controls · v0.5.0
struct CommandBarSeparator
A visual separator for use in a CommandBar.
Members
TYPEto_refis_compact_propertyis_in_overflow_propertyconstructnewas_command_bar_elementis_compactset_is_compactis_in_overflowset_is_in_overflow
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<CommandBarSeparator>
Returns a strong reference to this object.
is_compact_property
fn is_compact_property() -> &'static StyledProperty<bool>
Defines the IsCompact property.
is_in_overflow_property
fn is_in_overflow_property() -> &'static StyledProperty<bool>
Defines the IsInOverflow property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a command bar separator.
as_command_bar_element
fn as_command_bar_element(self: &Self) -> Rc<dyn ICommandBarElement>
The separator as a command bar element.
is_compact
fn is_compact(self: &Self) -> bool
Gets whether the separator is in compact mode.
set_is_compact
fn set_is_compact(self: &Self, value: bool)
Sets whether the separator is in compact mode.
is_in_overflow
fn is_in_overflow(self: &Self) -> bool
Gets whether the separator is displayed inside the overflow popup.
set_is_in_overflow
fn set_is_in_overflow(self: &Self, value: bool)
Sets whether the separator is displayed inside the overflow popup. Set automatically by the command bar when moving items between primary and overflow.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTemplatedControlImplExtControlImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<CommandBarSeparator>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplVisualImplLayoutableImplInteractiveImplInputElementImplControlImplTemplatedControlImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.