Struct linux_nvme_sys::nvme_host_mem_buf_desc
source · #[repr(C)]pub struct nvme_host_mem_buf_desc {
pub addr: __le64,
pub size: __le32,
pub rsvd: __u32,
}
Fields§
§addr: __le64
§size: __le32
§rsvd: __u32
Trait Implementations§
source§impl Clone for nvme_host_mem_buf_desc
impl Clone for nvme_host_mem_buf_desc
source§fn clone(&self) -> nvme_host_mem_buf_desc
fn clone(&self) -> nvme_host_mem_buf_desc
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 nvme_host_mem_buf_desc
impl Debug for nvme_host_mem_buf_desc
source§impl Default for nvme_host_mem_buf_desc
impl Default for nvme_host_mem_buf_desc
source§fn default() -> nvme_host_mem_buf_desc
fn default() -> nvme_host_mem_buf_desc
Returns the “default value” for a type. Read more
source§impl PartialEq<nvme_host_mem_buf_desc> for nvme_host_mem_buf_desc
impl PartialEq<nvme_host_mem_buf_desc> for nvme_host_mem_buf_desc
source§fn eq(&self, other: &nvme_host_mem_buf_desc) -> bool
fn eq(&self, other: &nvme_host_mem_buf_desc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for nvme_host_mem_buf_desc
impl Eq for nvme_host_mem_buf_desc
impl StructuralEq for nvme_host_mem_buf_desc
impl StructuralPartialEq for nvme_host_mem_buf_desc
Auto Trait Implementations§
impl RefUnwindSafe for nvme_host_mem_buf_desc
impl Send for nvme_host_mem_buf_desc
impl Sync for nvme_host_mem_buf_desc
impl Unpin for nvme_host_mem_buf_desc
impl UnwindSafe for nvme_host_mem_buf_desc
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