#[repr(u8)]pub enum CacheabilityAttribute {
NonCacheable = 0,
WriteBackReadWriteAllocate = 1,
WriteThroughReadAllocate = 2,
WriteBackReadAllocate = 3,
}Expand description
The cacheability attribute of a normal memory regions, as defined by the TCR_ELx.IRGNn and TCR_ELx.ORGNn fields.
[arm/v8]: D13.2.120 TCR_EL1, Translation Control Register (EL1) [arm/v8]: D13.2.121 TCR_EL2, Translation Control Register (EL2)
Variants§
NonCacheable = 0
WriteBackReadWriteAllocate = 1
WriteThroughReadAllocate = 2
WriteBackReadAllocate = 3
Trait Implementations§
Source§impl Clone for CacheabilityAttribute
impl Clone for CacheabilityAttribute
Source§fn clone(&self) -> CacheabilityAttribute
fn clone(&self) -> CacheabilityAttribute
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 CacheabilityAttribute
Source§impl Debug for CacheabilityAttribute
impl Debug for CacheabilityAttribute
impl Eq for CacheabilityAttribute
impl Immutable for CacheabilityAttribute
Source§impl IntoBytes for CacheabilityAttributewhere
(): PaddingFree<Self, { _ }>,
impl IntoBytes for CacheabilityAttributewhere
(): PaddingFree<Self, { _ }>,
Source§impl PartialEq for CacheabilityAttribute
impl PartialEq for CacheabilityAttribute
impl StructuralPartialEq for CacheabilityAttribute
Source§impl TryFromBytes for CacheabilityAttribute
impl TryFromBytes for CacheabilityAttribute
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 CacheabilityAttribute
impl RefUnwindSafe for CacheabilityAttribute
impl Send for CacheabilityAttribute
impl Sync for CacheabilityAttribute
impl Unpin for CacheabilityAttribute
impl UnsafeUnpin for CacheabilityAttribute
impl UnwindSafe for CacheabilityAttribute
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)