Struct tartan_uefi::MemoryAttributes
source · #[repr(transparent)]pub struct MemoryAttributes(_);
Implementations§
source§impl MemoryAttributes
impl MemoryAttributes
pub fn supports_uncacheable(&self) -> bool
pub fn supports_write_combining(&self) -> bool
pub fn supports_write_through(&self) -> bool
pub fn supports_write_back(&self) -> bool
pub fn supports_uncacheable_sem(&self) -> bool
pub fn supports_write_protect(&self) -> bool
pub fn supports_read_protect(&self) -> bool
pub fn supports_exec_protect(&self) -> bool
pub fn nonvolatile(&self) -> bool
pub fn more_reliable(&self) -> bool
pub fn supports_read_only(&self) -> bool
pub fn specific_purpose(&self) -> bool
pub fn supports_cpu_crypto(&self) -> bool
pub fn runtime(&self) -> bool
pub fn set_supports_uncacheable(&mut self, value: bool)
pub fn with_supports_uncacheable(&mut self, value: bool) -> Self
pub fn set_supports_write_combining(&mut self, value: bool)
pub fn with_supports_write_combining(&mut self, value: bool) -> Self
pub fn set_supports_write_through(&mut self, value: bool)
pub fn with_supports_write_through(&mut self, value: bool) -> Self
pub fn set_supports_write_back(&mut self, value: bool)
pub fn with_supports_write_back(&mut self, value: bool) -> Self
pub fn set_supports_uncacheable_sem(&mut self, value: bool)
pub fn with_supports_uncacheable_sem(&mut self, value: bool) -> Self
pub fn set_supports_write_protect(&mut self, value: bool)
pub fn with_supports_write_protect(&mut self, value: bool) -> Self
pub fn set_supports_read_protect(&mut self, value: bool)
pub fn with_supports_read_protect(&mut self, value: bool) -> Self
pub fn set_supports_exec_protect(&mut self, value: bool)
pub fn with_supports_exec_protect(&mut self, value: bool) -> Self
pub fn set_nonvolatile(&mut self, value: bool)
pub fn with_nonvolatile(&mut self, value: bool) -> Self
pub fn set_more_reliable(&mut self, value: bool)
pub fn with_more_reliable(&mut self, value: bool) -> Self
pub fn set_supports_read_only(&mut self, value: bool)
pub fn with_supports_read_only(&mut self, value: bool) -> Self
pub fn set_specific_purpose(&mut self, value: bool)
pub fn with_specific_purpose(&mut self, value: bool) -> Self
pub fn set_supports_cpu_crypto(&mut self, value: bool)
pub fn with_supports_cpu_crypto(&mut self, value: bool) -> Self
pub fn set_runtime(&mut self, value: bool)
pub fn with_runtime(&mut self, value: bool) -> Self
Trait Implementations§
source§impl Bitfield<u64> for MemoryAttributes
impl Bitfield<u64> for MemoryAttributes
source§impl Clone for MemoryAttributes
impl Clone for MemoryAttributes
source§fn clone(&self) -> MemoryAttributes
fn clone(&self) -> MemoryAttributes
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 MemoryAttributes
impl Debug for MemoryAttributes
source§impl Default for MemoryAttributes
impl Default for MemoryAttributes
source§fn default() -> MemoryAttributes
fn default() -> MemoryAttributes
Returns the “default value” for a type. Read more
source§impl From<MemoryAttributes> for u64
impl From<MemoryAttributes> for u64
source§fn from(val: MemoryAttributes) -> Self
fn from(val: MemoryAttributes) -> Self
Converts to this type from the input type.