pub struct PropEntry {
pub property: &'static FerroProperty,
pub value: PropValue,
}Expand description
A property and the value an element gives it.
Fields§
§property: &'static FerroPropertyThe property.
value: PropValueIts value.
Trait Implementations§
impl StructuralPartialEq for PropEntry
Auto Trait Implementations§
impl !RefUnwindSafe for PropEntry
impl !Send for PropEntry
impl !Sync for PropEntry
impl !UnwindSafe for PropEntry
impl Freeze for PropEntry
impl Unpin for PropEntry
impl UnsafeUnpin for PropEntry
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
Source§impl<T> AnyValueEq for Twhere
T: PartialEq + 'static,
impl<T> AnyValueEq for Twhere
T: PartialEq + 'static,
Source§fn item_equals(&self, other: &(dyn AnyValueEq + 'static)) -> bool
fn item_equals(&self, other: &(dyn AnyValueEq + 'static)) -> bool
Whether
other holds an equal value.Source§fn item_as_any(&self) -> &(dyn Any + 'static)
fn item_as_any(&self) -> &(dyn Any + 'static)
The value as
Any.Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read moreSource§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromValue<Option<T>> for Twhere
T: Clone,
impl<T> FromValue<Option<T>> for Twhere
T: Clone,
Source§fn from_value(value: &Option<T>) -> Option<T>
fn from_value(value: &Option<T>) -> Option<T>
The value of the signal, or
None when the value of the property has
none (the signal keeps its value).Source§impl<T> FromValue<T> for Twhere
T: Clone,
impl<T> FromValue<T> for Twhere
T: Clone,
Source§fn from_value(value: &T) -> Option<T>
fn from_value(value: &T) -> Option<T>
The value of the signal, or
None when the value of the property has
none (the signal keeps its value).Source§impl<T> IntoValue<Option<T>> for Twhere
T: PropertyValue,
impl<T> IntoValue<Option<T>> for Twhere
T: PropertyValue,
Source§fn into_value(self) -> Option<T>
fn into_value(self) -> Option<T>
The value of the property.