pub struct PartialL1Section<const MASK: u32>(/* private fields */);Expand description
Partial builder struct
Implementations§
Source§impl PartialL1Section<0>
impl PartialL1Section<0>
Sourcepub const fn with_base_addr_upper_bits(
&self,
value: u12,
) -> PartialL1Section<4293918720>
pub const fn with_base_addr_upper_bits( &self, value: u12, ) -> PartialL1Section<4293918720>
Section base address upper bits.
Source§impl PartialL1Section<4293918720>
impl PartialL1Section<4293918720>
Sourcepub const fn with_ng(&self, value: bool) -> PartialL1Section<4294049792>
pub const fn with_ng(&self, value: bool) -> PartialL1Section<4294049792>
Non-global bit.
Source§impl PartialL1Section<4294049792>
impl PartialL1Section<4294049792>
Sourcepub const fn with_s(&self, value: bool) -> PartialL1Section<4294115328>
pub const fn with_s(&self, value: bool) -> PartialL1Section<4294115328>
Shareable bit.
Source§impl PartialL1Section<4294115328>
impl PartialL1Section<4294115328>
pub const fn with_apx(&self, value: bool) -> PartialL1Section<4294148096>
Source§impl PartialL1Section<4294148096>
impl PartialL1Section<4294148096>
Sourcepub const fn with_tex(&self, value: u3) -> PartialL1Section<4294176768>
pub const fn with_tex(&self, value: u3) -> PartialL1Section<4294176768>
Type extension bits.
Source§impl PartialL1Section<4294176768>
impl PartialL1Section<4294176768>
pub const fn with_ap(&self, value: u2) -> PartialL1Section<4294179840>
Source§impl PartialL1Section<4294179840>
impl PartialL1Section<4294179840>
pub const fn with_p_bit(&self, value: bool) -> PartialL1Section<4294180352>
Source§impl PartialL1Section<4294180352>
impl PartialL1Section<4294180352>
pub const fn with_domain(&self, value: u4) -> PartialL1Section<4294180832>
Source§impl PartialL1Section<4294180832>
impl PartialL1Section<4294180832>
pub const fn with_xn(&self, value: bool) -> PartialL1Section<4294180848>
Source§impl PartialL1Section<4294180848>
impl PartialL1Section<4294180848>
pub const fn with_c(&self, value: bool) -> PartialL1Section<4294180856>
Source§impl PartialL1Section<4294180856>
impl PartialL1Section<4294180856>
pub const fn with_b(&self, value: bool) -> PartialL1Section<4294180860>
Source§impl PartialL1Section<4294180860>
impl PartialL1Section<4294180860>
pub const fn with_entry_type( &self, value: L1EntryType, ) -> PartialL1Section<4294180863>
Auto Trait Implementations§
impl<const MASK: u32> Freeze for PartialL1Section<MASK>
impl<const MASK: u32> RefUnwindSafe for PartialL1Section<MASK>
impl<const MASK: u32> Send for PartialL1Section<MASK>
impl<const MASK: u32> Sync for PartialL1Section<MASK>
impl<const MASK: u32> Unpin for PartialL1Section<MASK>
impl<const MASK: u32> UnwindSafe for PartialL1Section<MASK>
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