#[repr(u8)]pub enum TcrTg1Value {
Tg16KiB = 1,
Tg4KiB = 2,
Tg64KiB = 3,
}Expand description
Granule size values for the TCR_EL1.TG1 field.
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 TcrTg1Value
impl Clone for TcrTg1Value
Source§fn clone(&self) -> TcrTg1Value
fn clone(&self) -> TcrTg1Value
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 TcrTg1Value
Source§impl Debug for TcrTg1Value
impl Debug for TcrTg1Value
impl Eq for TcrTg1Value
impl Immutable for TcrTg1Value
Source§impl IntoBytes for TcrTg1Valuewhere
(): PaddingFree<Self, { _ }>,
impl IntoBytes for TcrTg1Valuewhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for TcrTg1Value
impl PartialEq for TcrTg1Value
impl StructuralPartialEq for TcrTg1Value
Source§impl TryFromBytes for TcrTg1Value
impl TryFromBytes for TcrTg1Value
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 TcrTg1Value
impl RefUnwindSafe for TcrTg1Value
impl Send for TcrTg1Value
impl Sync for TcrTg1Value
impl Unpin for TcrTg1Value
impl UnsafeUnpin for TcrTg1Value
impl UnwindSafe for TcrTg1Value
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)