pub struct Value;
Expand description
mark the provider is the value itself
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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> MutableInit for T
impl<T> MutableInit for T
Source§fn mutable_init<F>(self, f: F) -> T
fn mutable_init<F>(self, f: F) -> T
a method takes an owned value, changes it in a closure, then return it; Read more