pub struct Property<T> { /* private fields */ }Expand description
Stores an explicit value or a lazily computed binding result.
The default closure supplied to get describes the same binding on each read.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> !Freeze for Property<T>
impl<T> !RefUnwindSafe for Property<T>
impl<T> !Send for Property<T>
impl<T> !Sync for Property<T>
impl<T> !UnwindSafe for Property<T>
impl<T> Forget for Property<T>
impl<T> Move for Property<T>
impl<T> Unpin for Property<T>
impl<T> UnsafeUnpin for Property<T>
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