pub struct ReadWrite;
Expand description
Zero-sized marker type for allowing both read and write access.
Trait Implementations§
impl Copy for ReadWrite
Auto Trait Implementations§
impl Freeze for ReadWrite
impl RefUnwindSafe for ReadWrite
impl Send for ReadWrite
impl Sync for ReadWrite
impl Unpin for ReadWrite
impl UnwindSafe for ReadWrite
Blanket Implementations§
Source§impl<T> Access for Twhere
T: Readable + Default + Copy,
impl<T> Access for Twhere
T: Readable + Default + Copy,
Reduced access level to safely share the corresponding value.
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)