pub enum MemAttr {
StronglyOrdered,
Device {
shareable: bool,
},
WriteThroughNoWriteAllocate {
shareable: bool,
},
WriteBackNoWriteAllocate {
shareable: bool,
},
NonCacheable {
shareable: bool,
},
ImplementationDefined {
shareable: bool,
},
WriteBackWriteAllocate {
shareable: bool,
},
Cacheable {
outer: CacheablePolicy,
inner: CacheablePolicy,
shareable: bool,
},
}Expand description
Describes the memory ordering and cacheability of a region
Variants§
StronglyOrdered
Strongly-ordered memory
Device
Device (shareable or non-shareable)
Fields
WriteThroughNoWriteAllocate
Outer and Inner Write-Through, no Write-Allocate
Fields
WriteBackNoWriteAllocate
Outer and Inner Write-Back, no Write-Allocate
Fields
NonCacheable
Outer and Inner Non-cacheable
Fields
ImplementationDefined
Implementation Defined
Fields
WriteBackWriteAllocate
Outer and Inner Write-Back, Write-Allocate
Fields
Cacheable
Cacheable memory
Trait Implementations§
impl Eq for MemAttr
impl StructuralPartialEq for MemAttr
Auto Trait Implementations§
impl Freeze for MemAttr
impl RefUnwindSafe for MemAttr
impl Send for MemAttr
impl Sync for MemAttr
impl Unpin for MemAttr
impl UnwindSafe for MemAttr
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