#[repr(C)]pub struct PageFlags(_);
Implementations
sourceimpl PageFlags
impl PageFlags
pub const NONE: PageFlags = _
pub const R: PageFlags = _
pub const W: PageFlags = _
pub const X: PageFlags = _
pub const PENDING: PageFlags = _
pub const MODIFIED: PageFlags = _
pub const PR: PageFlags = _
pub const fn empty() -> PageFlags
pub const fn all() -> PageFlags
pub const fn bits(&self) -> u8
pub fn from_bits(bits: u8) -> Option<PageFlags>
pub const fn from_bits_truncate(bits: u8) -> PageFlags
sourcepub const unsafe fn from_bits_unchecked(bits: u8) -> PageFlags
pub const unsafe fn from_bits_unchecked(bits: u8) -> PageFlags
pub const fn is_empty(&self) -> bool
pub const fn is_all(&self) -> bool
pub const fn contains(&self, other: PageFlags) -> bool
pub const fn intersects(&self, other: PageFlags) -> bool
pub fn insert(&mut self, other: PageFlags)
pub fn remove(&mut self, other: PageFlags)
pub fn toggle(&mut self, other: PageFlags)
Trait Implementations
sourceimpl BitAndAssign<PageFlags> for PageFlags
impl BitAndAssign<PageFlags> for PageFlags
sourcefn bitand_assign(&mut self, rhs: PageFlags)
fn bitand_assign(&mut self, rhs: PageFlags)
Performs the
&=
operation. Read moresourceimpl BitOrAssign<PageFlags> for PageFlags
impl BitOrAssign<PageFlags> for PageFlags
sourcefn bitor_assign(&mut self, rhs: PageFlags)
fn bitor_assign(&mut self, rhs: PageFlags)
Performs the
|=
operation. Read moresourceimpl BitXorAssign<PageFlags> for PageFlags
impl BitXorAssign<PageFlags> for PageFlags
sourcefn bitxor_assign(&mut self, rhs: PageFlags)
fn bitxor_assign(&mut self, rhs: PageFlags)
Performs the
^=
operation. Read moresourceimpl SubAssign<PageFlags> for PageFlags
impl SubAssign<PageFlags> for PageFlags
sourcefn sub_assign(&mut self, rhs: PageFlags)
fn sub_assign(&mut self, rhs: PageFlags)
Performs the
-=
operation. Read moreimpl ContiguousMemory for PageFlags
impl Copy for PageFlags
impl Eq for PageFlags
impl StructuralEq for PageFlags
impl StructuralPartialEq for PageFlags
Auto Trait Implementations
impl RefUnwindSafe for PageFlags
impl Send for PageFlags
impl Sync for PageFlags
impl Unpin for PageFlags
impl UnwindSafe for PageFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more