pub trait ArchTopology: Sized {
type ArchVpInfo: Copy + AsRef<VpInfo>;
type BuilderState;
// Required method
fn vp_topology(
topology: &ProcessorTopology<Self>,
info: &Self::ArchVpInfo,
) -> VpTopologyInfo;
}
Expand description
Architecture-specific topology types.
Required Associated Types§
Sourcetype ArchVpInfo: Copy + AsRef<VpInfo>
type ArchVpInfo: Copy + AsRef<VpInfo>
The architecture-specific VP info type.
Sourcetype BuilderState
type BuilderState
The architecture-specific TopologyBuilder
generic.
Required Methods§
Sourcefn vp_topology(
topology: &ProcessorTopology<Self>,
info: &Self::ArchVpInfo,
) -> VpTopologyInfo
fn vp_topology( topology: &ProcessorTopology<Self>, info: &Self::ArchVpInfo, ) -> VpTopologyInfo
Compute VP topology from a VP.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.