pub struct FlowBox<T: ?Sized>(/* private fields */);
Expand description
Am immutable wrapper around a value from a flow local.
This is returned when a flow local is accessed and is internally reference counted. Cloning this value is reasonably efficient.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for FlowBox<T>where
T: ?Sized,
impl<T> RefUnwindSafe for FlowBox<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for FlowBox<T>
impl<T> Sync for FlowBox<T>
impl<T> Unpin for FlowBox<T>where
T: ?Sized,
impl<T> UnwindSafe for FlowBox<T>where
T: RefUnwindSafe + ?Sized,
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