#[repr(transparent)]pub struct Wrtprt(pub u32);Expand description
Write Protect register
Tuple Fields§
§0: u32Implementations§
Source§impl Wrtprt
impl Wrtprt
Sourcepub const fn write_protect(&self) -> bool
pub const fn write_protect(&self) -> bool
Write protect.
Sourcepub const fn set_write_protect(&mut self, val: bool)
pub const fn set_write_protect(&mut self, val: bool)
Write protect.
Trait Implementations§
impl Copy for Wrtprt
impl Eq for Wrtprt
impl StructuralPartialEq for Wrtprt
Auto Trait Implementations§
impl Freeze for Wrtprt
impl RefUnwindSafe for Wrtprt
impl Send for Wrtprt
impl Sync for Wrtprt
impl Unpin for Wrtprt
impl UnwindSafe for Wrtprt
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