#[repr(C)]pub struct TopologyArm64Info {
pub cluster_1_id: u8,
pub cluster_2_id: u8,
pub cluster_3_id: u8,
pub cpu_id: u8,
pub gic_id: u8,
}
Fields§
§cluster_1_id: u8
Cluster ids for each level, one being closest to the cpu. These map to aff1, aff2, and aff3 values in the ARM registers.
cluster_2_id: u8
§cluster_3_id: u8
§cpu_id: u8
Id of the cpu inside of the bottom-most cluster, aff0 value.
gic_id: u8
The GIC interface number for this processor. In GIC v3+ this is not necessary as the processors are addressed by their affinity routing (all cluster ids followed by cpu_id).
Trait Implementations§
Source§impl Clone for TopologyArm64Info
impl Clone for TopologyArm64Info
Source§fn clone(&self) -> TopologyArm64Info
fn clone(&self) -> TopologyArm64Info
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 TopologyArm64Info
impl Debug for TopologyArm64Info
Source§impl FromBytes for TopologyArm64Infowhere
u8: FromBytes,
impl FromBytes for TopologyArm64Infowhere
u8: FromBytes,
Source§impl FromZeros for TopologyArm64Infowhere
u8: FromZeros,
impl FromZeros for TopologyArm64Infowhere
u8: FromZeros,
Source§impl IntoBytes for TopologyArm64Info
impl IntoBytes for TopologyArm64Info
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§impl PartialEq for TopologyArm64Info
impl PartialEq for TopologyArm64Info
Source§impl TryFromBytes for TopologyArm64Infowhere
u8: TryFromBytes,
impl TryFromBytes for TopologyArm64Infowhere
u8: TryFromBytes,
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for TopologyArm64Info
impl Eq for TopologyArm64Info
impl StructuralPartialEq for TopologyArm64Info
Auto Trait Implementations§
impl Freeze for TopologyArm64Info
impl RefUnwindSafe for TopologyArm64Info
impl Send for TopologyArm64Info
impl Sync for TopologyArm64Info
impl Unpin for TopologyArm64Info
impl UnwindSafe for TopologyArm64Info
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
)