#[repr(transparent)]pub struct PageExtFlags(u16);Expand description
Value for VmPage::extended_flags.
Tuple Fields§
§0: u16Implementations§
Source§impl PageExtFlags
impl PageExtFlags
Sourcepub const fn zeroed() -> Self
pub const fn zeroed() -> Self
Returns a new set with all bits of the backed-storage set to zero.
Sourcepub fn has_any(self, rhs: impl Into<Self>) -> bool
pub fn has_any(self, rhs: impl Into<Self>) -> bool
Returns true if this set contains any flags in the rhs set.
This performs the & operation on the underlying value and check if the results is
non-zero.
Trait Implementations§
Source§impl BitAnd for PageExtFlags
impl BitAnd for PageExtFlags
Source§impl BitOr<Mask<PageExtFlags, bool>> for PageExtFlags
impl BitOr<Mask<PageExtFlags, bool>> for PageExtFlags
Source§impl BitOrAssign<Mask<PageExtFlags, bool>> for PageExtFlags
impl BitOrAssign<Mask<PageExtFlags, bool>> for PageExtFlags
Source§fn bitor_assign(&mut self, rhs: Mask<Self, bool>)
fn bitor_assign(&mut self, rhs: Mask<Self, bool>)
Performs the
|= operation. Read moreSource§impl BitOrAssign for PageExtFlags
impl BitOrAssign for PageExtFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for PageExtFlags
impl Clone for PageExtFlags
Source§fn clone(&self) -> PageExtFlags
fn clone(&self) -> PageExtFlags
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 From<Mask<PageExtFlags, bool>> for PageExtFlags
impl From<Mask<PageExtFlags, bool>> for PageExtFlags
Source§impl From<PageExtFlags> for u16
impl From<PageExtFlags> for u16
Source§fn from(value: PageExtFlags) -> Self
fn from(value: PageExtFlags) -> Self
Converts to this type from the input type.
Source§impl From<u16> for PageExtFlags
impl From<u16> for PageExtFlags
Source§impl PartialEq<Mask<PageExtFlags, bool>> for PageExtFlags
impl PartialEq<Mask<PageExtFlags, bool>> for PageExtFlags
impl Copy for PageExtFlags
Auto Trait Implementations§
impl Freeze for PageExtFlags
impl RefUnwindSafe for PageExtFlags
impl Send for PageExtFlags
impl Sync for PageExtFlags
impl Unpin for PageExtFlags
impl UnwindSafe for PageExtFlags
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