DefinitionBase
struct · ferroui-controls · v0.5.0
struct DefinitionBase
Provides the core functionality used internally by Grid and the column
and row definition collections.
This class is abstract: only its subclasses crate::ColumnDefinition
and crate::RowDefinition can be created.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<DefinitionBase>
Returns a strong reference to this object.
shared_size_group_property
fn shared_size_group_property() -> &'static AttachedProperty<Option<String>>
Defines the SharedSizeGroup property, which marks a column / row
definition as belonging to a group "Foo" or "Bar".
The value must satisfy the following rules:
- the string must not be empty;
- the string must consist of letters, digits and underscore ('_') only;
- the string must not start with a digit.
shared_size_group
fn shared_size_group(self: &Self) -> Option<String>
The shared size group of the definition.
set_shared_size_group
fn set_shared_size_group(self: &Self, value: Option<&str>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeDefinitionBaseImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<DefinitionBase>StaticTypeObjectTypeSubclassable<T>FerroObjectImplDefinitionBaseImplDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.