#[repr(u8)]pub enum TcrTg0Value {
Tg4KiB = 0,
Tg16KiB = 2,
Tg64KiB = 1,
}Expand description
Granule size values for the TCR_EL1 and TCR_EL2 fields.
WARNING: The encodings for the TG0 field and TG1 field are different.
[arm/v8]: D13.2.120 TCR_EL1, Translation Control Register (EL1)
Variants§
Trait Implementations§
Source§impl Clone for TcrTg0Value
impl Clone for TcrTg0Value
Source§fn clone(&self) -> TcrTg0Value
fn clone(&self) -> TcrTg0Value
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TcrTg0Value
Source§impl Debug for TcrTg0Value
impl Debug for TcrTg0Value
impl Eq for TcrTg0Value
impl Immutable for TcrTg0Value
Source§impl IntoBytes for TcrTg0Valuewhere
(): PaddingFree<Self, { _ }>,
impl IntoBytes for TcrTg0Valuewhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for TcrTg0Value
impl PartialEq for TcrTg0Value
impl StructuralPartialEq for TcrTg0Value
Source§impl TryFromBytes for TcrTg0Value
impl TryFromBytes for TcrTg0Value
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<!, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Auto Trait Implementations§
impl Freeze for TcrTg0Value
impl RefUnwindSafe for TcrTg0Value
impl Send for TcrTg0Value
impl Sync for TcrTg0Value
impl Unpin for TcrTg0Value
impl UnsafeUnpin for TcrTg0Value
impl UnwindSafe for TcrTg0Value
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)