pub enum PropertyViewModelKey {
Property(&'static FerroProperty),
Name(String),
}Expand description
The key of a property view model in the index of the properties of an object (object Key):
the registered property, or the name of a plain property.
Variants§
Property(&'static FerroProperty)
Name(String)
Trait Implementations§
Source§impl Clone for PropertyViewModelKey
impl Clone for PropertyViewModelKey
Source§impl Debug for PropertyViewModelKey
impl Debug for PropertyViewModelKey
impl Eq for PropertyViewModelKey
Source§impl Hash for PropertyViewModelKey
impl Hash for PropertyViewModelKey
Source§impl PartialEq for PropertyViewModelKey
impl PartialEq for PropertyViewModelKey
impl StructuralPartialEq for PropertyViewModelKey
Auto Trait Implementations§
impl !RefUnwindSafe for PropertyViewModelKey
impl !Send for PropertyViewModelKey
impl !Sync for PropertyViewModelKey
impl !UnwindSafe for PropertyViewModelKey
impl Freeze for PropertyViewModelKey
impl Unpin for PropertyViewModelKey
impl UnsafeUnpin for PropertyViewModelKey
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> 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 more