#[non_exhaustive]pub struct PropertyView {
pub value: Option<Value>,
pub last_valid: Option<Arc<str>>,
pub target: Option<Value>,
}Available on crate feature
alloc only.Expand description
What the controller knows about one property.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.value: Option<Value>The last value, checked; always None for a retained: false property.
last_valid: Option<Arc<str>>The last value text that passed the check.
target: Option<Value>The last $target.
Trait Implementations§
Source§impl Clone for PropertyView
impl Clone for PropertyView
Source§impl Debug for PropertyView
impl Debug for PropertyView
Source§impl Default for PropertyView
impl Default for PropertyView
impl Eq for PropertyView
Source§impl PartialEq for PropertyView
impl PartialEq for PropertyView
impl StructuralPartialEq for PropertyView
Auto Trait Implementations§
impl Freeze for PropertyView
impl RefUnwindSafe for PropertyView
impl Send for PropertyView
impl Sync for PropertyView
impl Unpin for PropertyView
impl UnsafeUnpin for PropertyView
impl UnwindSafe for PropertyView
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