pub struct WriteOnly;
Expand description
Zero-sized marker type for allowing only write access.
Trait Implementations§
Source§impl RestrictAccess<NoAccess> for WriteOnly
impl RestrictAccess<NoAccess> for WriteOnly
Source§type Restricted = NoAccess
type Restricted = NoAccess
Source§impl RestrictAccess<ReadOnly> for WriteOnly
impl RestrictAccess<ReadOnly> for WriteOnly
Source§type Restricted = NoAccess
type Restricted = NoAccess
Source§impl RestrictAccess<ReadWrite> for WriteOnly
impl RestrictAccess<ReadWrite> for WriteOnly
Source§type Restricted = WriteOnly
type Restricted = WriteOnly
Source§impl RestrictAccess<WriteOnly> for ReadOnly
impl RestrictAccess<WriteOnly> for ReadOnly
Source§type Restricted = NoAccess
type Restricted = NoAccess
Source§impl RestrictAccess<WriteOnly> for WriteOnly
impl RestrictAccess<WriteOnly> for WriteOnly
Source§type Restricted = WriteOnly
type Restricted = WriteOnly
impl Access for WriteOnly
impl Copy for WriteOnly
Auto Trait Implementations§
impl Freeze for WriteOnly
impl RefUnwindSafe for WriteOnly
impl Send for WriteOnly
impl Sync for WriteOnly
impl Unpin for WriteOnly
impl UnwindSafe for WriteOnly
Blanket Implementations§
§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 u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)