Struct hwlocality_sys::hwloc_osdev_attr_s
source · #[repr(C)]pub struct hwloc_osdev_attr_s {
pub ty: hwloc_obj_osdev_type_t,
}Expand description
HWLOC_OBJ_OS_DEVICE-specific attributes
Fields§
§ty: hwloc_obj_osdev_type_tOS device type
Trait Implementations§
source§impl Clone for hwloc_osdev_attr_s
impl Clone for hwloc_osdev_attr_s
source§fn clone(&self) -> hwloc_osdev_attr_s
fn clone(&self) -> hwloc_osdev_attr_s
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 hwloc_osdev_attr_s
impl Debug for hwloc_osdev_attr_s
source§impl Default for hwloc_osdev_attr_s
impl Default for hwloc_osdev_attr_s
source§fn default() -> hwloc_osdev_attr_s
fn default() -> hwloc_osdev_attr_s
Returns the “default value” for a type. Read more
source§impl Hash for hwloc_osdev_attr_s
impl Hash for hwloc_osdev_attr_s
source§impl PartialEq<hwloc_osdev_attr_s> for hwloc_osdev_attr_s
impl PartialEq<hwloc_osdev_attr_s> for hwloc_osdev_attr_s
source§fn eq(&self, other: &hwloc_osdev_attr_s) -> bool
fn eq(&self, other: &hwloc_osdev_attr_s) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for hwloc_osdev_attr_s
impl Eq for hwloc_osdev_attr_s
impl StructuralEq for hwloc_osdev_attr_s
impl StructuralPartialEq for hwloc_osdev_attr_s
Auto Trait Implementations§
impl RefUnwindSafe for hwloc_osdev_attr_s
impl Send for hwloc_osdev_attr_s
impl Sync for hwloc_osdev_attr_s
impl Unpin for hwloc_osdev_attr_s
impl UnwindSafe for hwloc_osdev_attr_s
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