#[repr(C)]
pub union TopologyEntityVariant {
pub processor: TopologyProcessor,
pub cluster: TopologyCluster,
pub cache: TopologyCache,
pub die: TopologyDie,
pub socket: TopologySocket,
pub numa_region: TopologyNumaRegion,
}
Fields§
§processor: TopologyProcessor
§cluster: TopologyCluster
§cache: TopologyCache
§die: TopologyDie
§socket: TopologySocket
§numa_region: TopologyNumaRegion
Trait Implementations§
Source§impl Clone for TopologyEntityVariant
impl Clone for TopologyEntityVariant
Source§fn clone(&self) -> TopologyEntityVariant
fn clone(&self) -> TopologyEntityVariant
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 TopologyEntityVariant
Auto Trait Implementations§
impl Freeze for TopologyEntityVariant
impl RefUnwindSafe for TopologyEntityVariant
impl Send for TopologyEntityVariant
impl Sync for TopologyEntityVariant
impl Unpin for TopologyEntityVariant
impl UnwindSafe for TopologyEntityVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)