Struct nvme::ds::sgl::SglDescriptor
source · pub struct SglDescriptor { /* private fields */ }
Implementations§
source§impl SglDescriptor
impl SglDescriptor
source§impl SglDescriptor
impl SglDescriptor
sourcepub const fn into_bytes(self) -> [u8; 16]
pub const fn into_bytes(self) -> [u8; 16]
sourcepub const fn from_bytes(bytes: [u8; 16]) -> Self
pub const fn from_bytes(bytes: [u8; 16]) -> Self
Converts the given bytes directly into the bitfield struct.
Trait Implementations§
source§impl Clone for SglDescriptor
impl Clone for SglDescriptor
source§fn clone(&self) -> SglDescriptor
fn clone(&self) -> SglDescriptor
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 SglDescriptor
impl Debug for SglDescriptor
impl Copy for SglDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for SglDescriptor
impl Send for SglDescriptor
impl Sync for SglDescriptor
impl Unpin for SglDescriptor
impl UnwindSafe for SglDescriptor
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