#[repr(C)]pub struct TopologyNumaRegion {
pub start: u64,
pub size: u64,
}
Fields§
§start: u64
Starting memory addresses of the numa region.
size: u64
Size in bytes of the numa region.
Trait Implementations§
Source§impl Clone for TopologyNumaRegion
impl Clone for TopologyNumaRegion
Source§fn clone(&self) -> TopologyNumaRegion
fn clone(&self) -> TopologyNumaRegion
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 TopologyNumaRegion
impl Debug for TopologyNumaRegion
Source§impl FromBytes for TopologyNumaRegionwhere
u64: FromBytes,
impl FromBytes for TopologyNumaRegionwhere
u64: FromBytes,
Source§impl FromZeros for TopologyNumaRegionwhere
u64: FromZeros,
impl FromZeros for TopologyNumaRegionwhere
u64: FromZeros,
Source§impl IntoBytes for TopologyNumaRegion
impl IntoBytes for TopologyNumaRegion
§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 TopologyNumaRegion
impl PartialEq for TopologyNumaRegion
Source§impl TryFromBytes for TopologyNumaRegionwhere
u64: TryFromBytes,
impl TryFromBytes for TopologyNumaRegionwhere
u64: 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 TopologyNumaRegion
impl Eq for TopologyNumaRegion
impl StructuralPartialEq for TopologyNumaRegion
Auto Trait Implementations§
impl Freeze for TopologyNumaRegion
impl RefUnwindSafe for TopologyNumaRegion
impl Send for TopologyNumaRegion
impl Sync for TopologyNumaRegion
impl Unpin for TopologyNumaRegion
impl UnwindSafe for TopologyNumaRegion
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
)