pub struct DeviceManagementOpDiscardCmd44Args(pub u32);Expand description
The arguments to CMD44 for a DISCARD DMS operation (JESD84-B51A, 6.6.39.7)
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl<T> BitRange<T> for DeviceManagementOpDiscardCmd44Args
impl<T> BitRange<T> for DeviceManagementOpDiscardCmd44Args
Source§impl<T> BitRangeMut<T> for DeviceManagementOpDiscardCmd44Argswhere
u32: BitRangeMut<T>,
impl<T> BitRangeMut<T> for DeviceManagementOpDiscardCmd44Argswhere
u32: BitRangeMut<T>,
Source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Source§impl Clone for DeviceManagementOpDiscardCmd44Args
impl Clone for DeviceManagementOpDiscardCmd44Args
Source§fn clone(&self) -> DeviceManagementOpDiscardCmd44Args
fn clone(&self) -> DeviceManagementOpDiscardCmd44Args
Returns a duplicate 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 FromBytes for DeviceManagementOpDiscardCmd44Args
impl FromBytes for DeviceManagementOpDiscardCmd44Args
Source§impl FromZeros for DeviceManagementOpDiscardCmd44Args
impl FromZeros for DeviceManagementOpDiscardCmd44Args
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Extends a
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.Source§impl IntoBytes for DeviceManagementOpDiscardCmd44Args
impl IntoBytes for DeviceManagementOpDiscardCmd44Args
Source§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl PartialEq for DeviceManagementOpDiscardCmd44Args
impl PartialEq for DeviceManagementOpDiscardCmd44Args
Source§fn eq(&self, other: &DeviceManagementOpDiscardCmd44Args) -> bool
fn eq(&self, other: &DeviceManagementOpDiscardCmd44Args) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFromBytes for DeviceManagementOpDiscardCmd44Argswhere
u32: TryFromBytes,
impl TryFromBytes for DeviceManagementOpDiscardCmd44Argswhere
u32: TryFromBytes,
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for DeviceManagementOpDiscardCmd44Args
impl Eq for DeviceManagementOpDiscardCmd44Args
impl Immutable for DeviceManagementOpDiscardCmd44Args
impl StructuralPartialEq for DeviceManagementOpDiscardCmd44Args
Auto Trait Implementations§
impl Freeze for DeviceManagementOpDiscardCmd44Args
impl RefUnwindSafe for DeviceManagementOpDiscardCmd44Args
impl Send for DeviceManagementOpDiscardCmd44Args
impl Sync for DeviceManagementOpDiscardCmd44Args
impl Unpin for DeviceManagementOpDiscardCmd44Args
impl UnwindSafe for DeviceManagementOpDiscardCmd44Args
Blanket Implementations§
Source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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