Struct hwlocality_sys::hwloc_location
source · #[repr(C)]pub struct hwloc_location {
pub ty: hwloc_location_type_e,
pub location: hwloc_location_u,
}Available on crate feature
hwloc-2_3_0 only.Expand description
Where to measure attributes from
Fields§
§ty: hwloc_location_type_eType of location
location: hwloc_location_uActual location
Trait Implementations§
source§impl Clone for hwloc_location
impl Clone for hwloc_location
source§fn clone(&self) -> hwloc_location
fn clone(&self) -> hwloc_location
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 moreimpl Copy for hwloc_location
Auto Trait Implementations§
impl RefUnwindSafe for hwloc_location
impl !Send for hwloc_location
impl !Sync for hwloc_location
impl Unpin for hwloc_location
impl UnwindSafe for hwloc_location
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