#[repr(C)]pub struct BootRegion {
pub range: PhysCRange,
pub name: *const u8,
pub access: AccessSetting,
pub cache: CacheSetting,
pub kind: BootMemoryKind,
}Fields§
§range: PhysCRange§name: *const u8§access: AccessSetting§cache: CacheSetting§kind: BootMemoryKindImplementations§
Source§impl BootRegion
impl BootRegion
pub fn new( range: Range<PhysAddr>, name: &'static CStr, access: AccessSetting, cache: CacheSetting, kind: BootMemoryKind, ) -> Self
pub fn new_with_len( start: PhysAddr, len: usize, name: &'static CStr, access: AccessSetting, cache: CacheSetting, kind: BootMemoryKind, ) -> Self
pub fn name(&self) -> &'static str
Trait Implementations§
Source§impl Clone for BootRegion
impl Clone for BootRegion
Source§fn clone(&self) -> BootRegion
fn clone(&self) -> BootRegion
Returns a duplicate 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 BootRegion
impl Debug for BootRegion
Source§impl RangeInfo for BootRegion
impl RangeInfo for BootRegion
impl Copy for BootRegion
impl Send for BootRegion
Auto Trait Implementations§
impl Freeze for BootRegion
impl RefUnwindSafe for BootRegion
impl !Sync for BootRegion
impl Unpin for BootRegion
impl UnwindSafe for BootRegion
Blanket Implementations§
Source§impl<T> Background for T
impl<T> Background for T
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