pub struct CommandDword0 { /* private fields */ }
Implementations§
source§impl CommandDword0
impl CommandDword0
source§impl CommandDword0
impl CommandDword0
sourcepub const fn into_bytes(self) -> [u8; 4]
pub const fn into_bytes(self) -> [u8; 4]
sourcepub const fn from_bytes(bytes: [u8; 4]) -> Self
pub const fn from_bytes(bytes: [u8; 4]) -> Self
Converts the given bytes directly into the bitfield struct.
Trait Implementations§
source§impl Clone for CommandDword0
impl Clone for CommandDword0
source§fn clone(&self) -> CommandDword0
fn clone(&self) -> CommandDword0
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommandDword0
impl Debug for CommandDword0
source§impl Default for CommandDword0
impl Default for CommandDword0
source§fn default() -> CommandDword0
fn default() -> CommandDword0
Returns the “default value” for a type. Read more
impl Copy for CommandDword0
Auto Trait Implementations§
impl Freeze for CommandDword0
impl RefUnwindSafe for CommandDword0
impl Send for CommandDword0
impl Sync for CommandDword0
impl Unpin for CommandDword0
impl UnwindSafe for CommandDword0
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
)