Struct x86_64::registers::control::Cr3Flags [−][src]
pub struct Cr3Flags { /* fields omitted */ }
Controls cache settings for the level 4 page table.
Implementations
impl Cr3Flags
[src]
impl Cr3Flags
[src]pub const PAGE_LEVEL_WRITETHROUGH: Cr3Flags
[src]
pub const PAGE_LEVEL_WRITETHROUGH: Cr3Flags
[src]Use a writethrough cache policy for the P4 table (else a writeback policy is used).
pub const PAGE_LEVEL_CACHE_DISABLE: Cr3Flags
[src]
pub const PAGE_LEVEL_CACHE_DISABLE: Cr3Flags
[src]Disable caching for the P4 table.
pub fn from_bits(bits: u64) -> Option<Cr3Flags>
[src]
pub fn from_bits(bits: u64) -> Option<Cr3Flags>
[src]Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
pub const fn from_bits_truncate(bits: u64) -> Cr3Flags
[src]
pub const fn from_bits_truncate(bits: u64) -> Cr3Flags
[src]Convert from underlying bit representation, dropping any bits that do not correspond to flags.
pub const unsafe fn from_bits_unchecked(bits: u64) -> Cr3Flags
[src]
pub const unsafe fn from_bits_unchecked(bits: u64) -> Cr3Flags
[src]Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).
pub const fn intersects(&self, other: Cr3Flags) -> bool
[src]
pub const fn intersects(&self, other: Cr3Flags) -> bool
[src]Returns true
if there are flags common to both self
and other
.
Trait Implementations
impl BitAndAssign<Cr3Flags> for Cr3Flags
[src]
impl BitAndAssign<Cr3Flags> for Cr3Flags
[src]fn bitand_assign(&mut self, other: Cr3Flags)
[src]
fn bitand_assign(&mut self, other: Cr3Flags)
[src]Disables all flags disabled in the set.
impl BitOrAssign<Cr3Flags> for Cr3Flags
[src]
impl BitOrAssign<Cr3Flags> for Cr3Flags
[src]fn bitor_assign(&mut self, other: Cr3Flags)
[src]
fn bitor_assign(&mut self, other: Cr3Flags)
[src]Adds the set of flags.
impl BitXorAssign<Cr3Flags> for Cr3Flags
[src]
impl BitXorAssign<Cr3Flags> for Cr3Flags
[src]fn bitxor_assign(&mut self, other: Cr3Flags)
[src]
fn bitxor_assign(&mut self, other: Cr3Flags)
[src]Toggles the set of flags.
impl Extend<Cr3Flags> for Cr3Flags
[src]
impl Extend<Cr3Flags> for Cr3Flags
[src]fn extend<T: IntoIterator<Item = Cr3Flags>>(&mut self, iterator: T)
[src]
fn extend<T: IntoIterator<Item = Cr3Flags>>(&mut self, iterator: T)
[src]Extends a collection with the contents of an iterator. Read more
fn extend_one(&mut self, item: A)
[src]
fn extend_one(&mut self, item: A)
[src]extend_one
)Extends a collection with exactly one element.
fn extend_reserve(&mut self, additional: usize)
[src]
fn extend_reserve(&mut self, additional: usize)
[src]extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
impl FromIterator<Cr3Flags> for Cr3Flags
[src]
impl FromIterator<Cr3Flags> for Cr3Flags
[src]impl Ord for Cr3Flags
[src]
impl Ord for Cr3Flags
[src]impl PartialOrd<Cr3Flags> for Cr3Flags
[src]
impl PartialOrd<Cr3Flags> for Cr3Flags
[src]fn partial_cmp(&self, other: &Cr3Flags) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Cr3Flags) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl SubAssign<Cr3Flags> for Cr3Flags
[src]
impl SubAssign<Cr3Flags> for Cr3Flags
[src]fn sub_assign(&mut self, other: Cr3Flags)
[src]
fn sub_assign(&mut self, other: Cr3Flags)
[src]Disables all flags enabled in the set.