pub struct ReadWrite;
Expand description
Zero-sized marker type for allowing both read and write access.
Trait Implementations§
source§impl RestrictAccess<ReadWrite> for ReadOnly
impl RestrictAccess<ReadWrite> for ReadOnly
§type Restricted = ReadOnly
type Restricted = ReadOnly
source§impl RestrictAccess<ReadWrite> for WriteOnly
impl RestrictAccess<ReadWrite> for WriteOnly
§type Restricted = WriteOnly
type Restricted = WriteOnly
source§impl<To: Access> RestrictAccess<To> for ReadWrite
impl<To: Access> RestrictAccess<To> for ReadWrite
§type Restricted = To
type Restricted = To
impl Access for ReadWrite
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> 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