pub enum SharedLoadContext<'a, Value> {
Initial(&'a Value),
UserInitiated,
}Expand description
Distinguishes a borrowed construction seed from an explicit storage load.
Variants§
Initial(&'a Value)
Initial construction borrows its already evaluated seed.
UserInitiated
Explicit require or reload supplies no default.
Trait Implementations§
Auto Trait Implementations§
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