pub struct ReadOnly {}
Expand description
A zero-sized type indicating that a register provides only read access.
Implements the Readable
trait.
Trait Implementations§
Source§impl Ord for ReadOnly
impl Ord for ReadOnly
Source§impl PartialOrd for ReadOnly
impl PartialOrd for ReadOnly
impl Access for ReadOnly
impl Copy for ReadOnly
impl Eq for ReadOnly
impl Readable for ReadOnly
impl StructuralPartialEq for ReadOnly
Auto Trait Implementations§
impl Freeze for ReadOnly
impl RefUnwindSafe for ReadOnly
impl Send for ReadOnly
impl Sync for ReadOnly
impl Unpin for ReadOnly
impl UnwindSafe for ReadOnly
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