AttachedProperty
struct · ferroui-base · v0.5.0
struct AttachedProperty<T: PropertyValue>
An attached property: a styled property that is defined by one class and set on objects of another.
Members
add_owner
fn add_owner<TOwner: ObjectType>(self: &'static Self) -> &'static Self
Attaches the property as a non-attached property on class TOwner.
add_owner_with
fn add_owner_with<TOwner: ObjectType>(self: &'static Self, metadata: StyledPropertyMetadata<T>) -> &'static Self
Attaches the property as a non-attached property on class TOwner,
with metadata for that class.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherTypedPropertyRegistrableDeref
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.