Struct nvme::NvmeNamespace
source · pub struct NvmeNamespace {
pub id: u32,
pub blocks: u64,
pub block_size: u64,
}Fields§
§id: u32§blocks: u64§block_size: u64Trait Implementations§
source§impl Clone for NvmeNamespace
impl Clone for NvmeNamespace
source§fn clone(&self) -> NvmeNamespace
fn clone(&self) -> NvmeNamespace
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 NvmeNamespace
impl Debug for NvmeNamespace
impl Copy for NvmeNamespace
Auto Trait Implementations§
impl Freeze for NvmeNamespace
impl RefUnwindSafe for NvmeNamespace
impl Send for NvmeNamespace
impl Sync for NvmeNamespace
impl Unpin for NvmeNamespace
impl UnwindSafe for NvmeNamespace
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)