Union fuchsia_zbi_abi::ArchitectureInfo
source · #[repr(C)]
pub union ArchitectureInfo {
pub arm64: ZbiTopologyArm64Info,
pub x64: ZbiTopologyX64Info,
}
Fields§
§arm64: ZbiTopologyArm64Info
§x64: ZbiTopologyX64Info
Trait Implementations§
source§impl Clone for ArchitectureInfo
impl Clone for ArchitectureInfo
source§fn clone(&self) -> ArchitectureInfo
fn clone(&self) -> ArchitectureInfo
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 FromBytes for ArchitectureInfowhere
ZbiTopologyArm64Info: FromBytes,
ZbiTopologyX64Info: FromBytes,
impl FromBytes for ArchitectureInfowhere
ZbiTopologyArm64Info: FromBytes,
ZbiTopologyX64Info: FromBytes,
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for ArchitectureInfowhere
ZbiTopologyArm64Info: FromZeros,
ZbiTopologyX64Info: FromZeros,
impl FromZeros for ArchitectureInfowhere
ZbiTopologyArm64Info: FromZeros,
ZbiTopologyX64Info: FromZeros,
impl Copy for ArchitectureInfo
Auto Trait Implementations§
impl Freeze for ArchitectureInfo
impl RefUnwindSafe for ArchitectureInfo
impl Send for ArchitectureInfo
impl Sync for ArchitectureInfo
impl Unpin for ArchitectureInfo
impl UnwindSafe for ArchitectureInfo
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