#[repr(transparent)]pub struct Addrconf(pub u32);
Expand description
Extended address configuration.
Tuple Fields§
§0: u32
Implementations§
Source§impl Addrconf
impl Addrconf
Sourcepub fn set_opcode(&mut self, val: u8)
pub fn set_opcode(&mut self, val: u8)
Opcode that enters the 32-bit addressing mode.
Sourcepub fn set_wipwait(&mut self, val: bool)
pub fn set_wipwait(&mut self, val: bool)
Wait for write complete before sending command.
Trait Implementations§
impl Copy for Addrconf
impl Eq for Addrconf
impl StructuralPartialEq for Addrconf
Auto Trait Implementations§
impl Freeze for Addrconf
impl RefUnwindSafe for Addrconf
impl Send for Addrconf
impl Sync for Addrconf
impl Unpin for Addrconf
impl UnwindSafe for Addrconf
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)