#[repr(C)]pub struct vfio_region_info_cap_nvlink2_lnkspd {
pub header: vfio_info_cap_header,
pub link_speed: u32,
pub __pad: u32,
}
Fields§
§header: vfio_info_cap_header
§link_speed: u32
§__pad: u32
Trait Implementations§
source§impl Clone for vfio_region_info_cap_nvlink2_lnkspd
impl Clone for vfio_region_info_cap_nvlink2_lnkspd
source§fn clone(&self) -> vfio_region_info_cap_nvlink2_lnkspd
fn clone(&self) -> vfio_region_info_cap_nvlink2_lnkspd
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 Default for vfio_region_info_cap_nvlink2_lnkspd
impl Default for vfio_region_info_cap_nvlink2_lnkspd
source§fn default() -> vfio_region_info_cap_nvlink2_lnkspd
fn default() -> vfio_region_info_cap_nvlink2_lnkspd
Returns the “default value” for a type. Read more
impl Copy for vfio_region_info_cap_nvlink2_lnkspd
Auto Trait Implementations§
impl RefUnwindSafe for vfio_region_info_cap_nvlink2_lnkspd
impl Send for vfio_region_info_cap_nvlink2_lnkspd
impl Sync for vfio_region_info_cap_nvlink2_lnkspd
impl Unpin for vfio_region_info_cap_nvlink2_lnkspd
impl UnwindSafe for vfio_region_info_cap_nvlink2_lnkspd
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