pub struct PlatformInfo {
pub ib_guid: [u8; 16],
pub chassis_serial_number: [u8; 16],
pub slot_number: u8,
pub tray_index: u8,
pub host_id: u8,
pub peer_type: u8,
pub module_id: u8,
}Fields§
§ib_guid: [u8; 16]§chassis_serial_number: [u8; 16]§slot_number: u8§tray_index: u8§host_id: u8§peer_type: u8§module_id: u8Trait Implementations§
Source§impl Clone for PlatformInfo
impl Clone for PlatformInfo
Source§fn clone(&self) -> PlatformInfo
fn clone(&self) -> PlatformInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlatformInfo
impl Debug for PlatformInfo
Source§impl From<nvmlPlatformInfo_v2_t> for PlatformInfo
impl From<nvmlPlatformInfo_v2_t> for PlatformInfo
Source§fn from(value: nvmlPlatformInfo_t) -> Self
fn from(value: nvmlPlatformInfo_t) -> Self
Converts to this type from the input type.
Source§impl Hash for PlatformInfo
impl Hash for PlatformInfo
Source§impl PartialEq for PlatformInfo
impl PartialEq for PlatformInfo
Source§fn eq(&self, other: &PlatformInfo) -> bool
fn eq(&self, other: &PlatformInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PlatformInfo
impl Eq for PlatformInfo
impl StructuralPartialEq for PlatformInfo
Auto Trait Implementations§
impl Freeze for PlatformInfo
impl RefUnwindSafe for PlatformInfo
impl Send for PlatformInfo
impl Sync for PlatformInfo
impl Unpin for PlatformInfo
impl UnsafeUnpin for PlatformInfo
impl UnwindSafe for PlatformInfo
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