#[repr(C)]pub struct TopologyNode {
pub entity: TopologyEntity,
pub parent_index: u16,
}
Expand description
The ZBI_TYPE_CPU_TOPOLOGY payload consists of an array of zbi_topology_node_t, giving a flattened tree-like description of the CPU configuration according to the entity hierarchy.
Fields§
§entity: TopologyEntity
§parent_index: u16
Trait Implementations§
Source§impl Clone for TopologyNode
impl Clone for TopologyNode
Source§fn clone(&self) -> TopologyNode
fn clone(&self) -> TopologyNode
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 TopologyNode
Auto Trait Implementations§
impl Freeze for TopologyNode
impl RefUnwindSafe for TopologyNode
impl Send for TopologyNode
impl Sync for TopologyNode
impl Unpin for TopologyNode
impl UnwindSafe for TopologyNode
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
)