#[repr(transparent)]pub struct Bootconf(pub u32);
Expand description
Immutable boot region configuration.
Tuple Fields§
§0: u32
Implementations§
Source§impl Bootconf
impl Bootconf
Sourcepub fn set_execute(&mut self, val: bool)
pub fn set_execute(&mut self, val: bool)
Execute access
Sourcepub fn set_secure(&mut self, val: bool)
pub fn set_secure(&mut self, val: bool)
Secure access
Sourcepub fn set_writeonce(&mut self, val: bool)
pub fn set_writeonce(&mut self, val: bool)
Write-once
Trait Implementations§
impl Copy for Bootconf
impl Eq for Bootconf
impl StructuralPartialEq for Bootconf
Auto Trait Implementations§
impl Freeze for Bootconf
impl RefUnwindSafe for Bootconf
impl Send for Bootconf
impl Sync for Bootconf
impl Unpin for Bootconf
impl UnwindSafe for Bootconf
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§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
)