Struct simple_left_right::ReadGuard
source · pub struct ReadGuard<'a, T> { /* private fields */ }Expand description
Data won’t change while holding the Guard. This also means the Writer can only issue one swap, while Guard is being held
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for ReadGuard<'a, T>
impl<'a, T> !RefUnwindSafe for ReadGuard<'a, T>
impl<'a, T> Send for ReadGuard<'a, T>
impl<'a, T> Sync for ReadGuard<'a, T>
impl<'a, T> Unpin for ReadGuard<'a, T>
impl<'a, T> !UnwindSafe for ReadGuard<'a, 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