pub struct FerroPropertyValue { /* private fields */ }Expand description
Holds diagnostic-related information about the value of a
FerroProperty on a FerroObject.
Implementations§
Source§impl FerroPropertyValue
impl FerroPropertyValue
Sourcepub fn property(&self) -> &'static FerroProperty
pub fn property(&self) -> &'static FerroProperty
Gets the property.
Sourcepub fn value(&self) -> &BoxedValue
pub fn value(&self) -> &BoxedValue
Gets the current property value: a value of the type of the property.
Sourcepub fn priority(&self) -> BindingPriority
pub fn priority(&self) -> BindingPriority
Gets the priority of the current value.
Sourcepub fn diagnostic(&self) -> Option<&str>
pub fn diagnostic(&self) -> Option<&str>
Gets a diagnostic string.
Sourcepub fn is_overridden_current_value(&self) -> bool
pub fn is_overridden_current_value(&self) -> bool
Gets a value indicating whether the value was
overridden by a call to
FerroObject::set_current_value.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FerroPropertyValue
impl !Send for FerroPropertyValue
impl !Sync for FerroPropertyValue
impl !UnwindSafe for FerroPropertyValue
impl Freeze for FerroPropertyValue
impl Unpin for FerroPropertyValue
impl UnsafeUnpin for FerroPropertyValue
Blanket Implementations§
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