Struct tartan_uefi::MemoryAttributes
source · pub struct MemoryAttributes(/* private fields */);
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.
source§impl From<u64> for MemoryAttributes
impl From<u64> for MemoryAttributes
source§impl PartialEq for MemoryAttributes
impl PartialEq for MemoryAttributes
impl Copy for MemoryAttributes
impl Eq for MemoryAttributes
impl StructuralPartialEq for MemoryAttributes
Auto Trait Implementations§
impl Freeze for MemoryAttributes
impl RefUnwindSafe for MemoryAttributes
impl Send for MemoryAttributes
impl Sync for MemoryAttributes
impl Unpin for MemoryAttributes
impl UnwindSafe for MemoryAttributes
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)