Enum hwlocality::object::attributes::ObjectAttributes
source · pub enum ObjectAttributes<'object> {
NUMANode(&'object NUMANodeAttributes<'object>),
Cache(&'object CacheAttributes),
Group(&'object GroupAttributes),
PCIDevice(&'object PCIDeviceAttributes),
Bridge(&'object BridgeAttributes),
OSDevice(&'object OSDeviceAttributes),
}
Expand description
ObjectType-specific attributes
Variants§
NUMANode(&'object NUMANodeAttributes<'object>)
NUMANode
-specific attributes
Cache(&'object CacheAttributes)
CPU cache-specific attributes
Group(&'object GroupAttributes)
Group
-specific attributes
PCIDevice(&'object PCIDeviceAttributes)
PCIDevice
-specific attributes
Bridge(&'object BridgeAttributes)
Bridge
-specific attributes
OSDevice(&'object OSDeviceAttributes)
OSDevice
-specific attributes
Trait Implementations§
source§impl<'object> Clone for ObjectAttributes<'object>
impl<'object> Clone for ObjectAttributes<'object>
source§fn clone(&self) -> ObjectAttributes<'object>
fn clone(&self) -> ObjectAttributes<'object>
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<'object> Debug for ObjectAttributes<'object>
impl<'object> Debug for ObjectAttributes<'object>
source§impl<'object> PartialEq for ObjectAttributes<'object>
impl<'object> PartialEq for ObjectAttributes<'object>
source§fn eq(&self, other: &ObjectAttributes<'object>) -> bool
fn eq(&self, other: &ObjectAttributes<'object>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'object> Copy for ObjectAttributes<'object>
impl<'object> StructuralPartialEq for ObjectAttributes<'object>
Auto Trait Implementations§
impl<'object> Freeze for ObjectAttributes<'object>
impl<'object> RefUnwindSafe for ObjectAttributes<'object>
impl<'object> Send for ObjectAttributes<'object>
impl<'object> Sync for ObjectAttributes<'object>
impl<'object> Unpin for ObjectAttributes<'object>
impl<'object> UnwindSafe for ObjectAttributes<'object>
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