pub struct WriteOnly;
Expand description
Zero-sized marker type for allowing only write access.
Trait Implementations§
impl Copy for WriteOnly
impl Writable for WriteOnly
Auto Trait Implementations§
impl RefUnwindSafe for WriteOnly
impl Send for WriteOnly
impl Sync for WriteOnly
impl Unpin for WriteOnly
impl UnwindSafe for WriteOnly
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