pub struct SeqLockReader<T: Copy> { /* private fields */ }
Expand description
The reader handle for the SeqLock
.
Multiple readers can be created for a SeqLock
.
Implementations§
Trait Implementations§
Source§impl<T: Clone + Copy> Clone for SeqLockReader<T>
impl<T: Clone + Copy> Clone for SeqLockReader<T>
Source§fn clone(&self) -> SeqLockReader<T>
fn clone(&self) -> SeqLockReader<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<T> Freeze for SeqLockReader<T>
impl<T> !RefUnwindSafe for SeqLockReader<T>
impl<T> Send for SeqLockReader<T>where
T: Send,
impl<T> Sync for SeqLockReader<T>where
T: Send,
impl<T> Unpin for SeqLockReader<T>
impl<T> !UnwindSafe for SeqLockReader<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