pub struct MemoryMapFlagBits(/* private fields */);Expand description
Implementations§
Source§impl MemoryMapFlagBits
impl MemoryMapFlagBits
Sourcepub const PLACED: MemoryMapFlagBits
pub const PLACED: MemoryMapFlagBits
Bit 0.
pub const fn empty() -> MemoryMapFlagBits
pub const fn from_raw(value: u32) -> MemoryMapFlagBits
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: MemoryMapFlagBits) -> bool
pub const fn all() -> MemoryMapFlagBits
Trait Implementations§
Source§impl BitAnd for MemoryMapFlagBits
impl BitAnd for MemoryMapFlagBits
Source§type Output = MemoryMapFlagBits
type Output = MemoryMapFlagBits
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: MemoryMapFlagBits) -> MemoryMapFlagBits
fn bitand(self, rhs: MemoryMapFlagBits) -> MemoryMapFlagBits
Performs the
& operation. Read moreSource§impl BitAndAssign for MemoryMapFlagBits
impl BitAndAssign for MemoryMapFlagBits
Source§fn bitand_assign(&mut self, rhs: MemoryMapFlagBits)
fn bitand_assign(&mut self, rhs: MemoryMapFlagBits)
Performs the
&= operation. Read moreSource§impl BitOr for MemoryMapFlagBits
impl BitOr for MemoryMapFlagBits
Source§type Output = MemoryMapFlagBits
type Output = MemoryMapFlagBits
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: MemoryMapFlagBits) -> MemoryMapFlagBits
fn bitor(self, rhs: MemoryMapFlagBits) -> MemoryMapFlagBits
Performs the
| operation. Read moreSource§impl BitOrAssign for MemoryMapFlagBits
impl BitOrAssign for MemoryMapFlagBits
Source§fn bitor_assign(&mut self, rhs: MemoryMapFlagBits)
fn bitor_assign(&mut self, rhs: MemoryMapFlagBits)
Performs the
|= operation. Read moreSource§impl BitXor for MemoryMapFlagBits
impl BitXor for MemoryMapFlagBits
Source§type Output = MemoryMapFlagBits
type Output = MemoryMapFlagBits
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: MemoryMapFlagBits) -> MemoryMapFlagBits
fn bitxor(self, rhs: MemoryMapFlagBits) -> MemoryMapFlagBits
Performs the
^ operation. Read moreSource§impl BitXorAssign for MemoryMapFlagBits
impl BitXorAssign for MemoryMapFlagBits
Source§fn bitxor_assign(&mut self, rhs: MemoryMapFlagBits)
fn bitxor_assign(&mut self, rhs: MemoryMapFlagBits)
Performs the
^= operation. Read moreSource§impl Clone for MemoryMapFlagBits
impl Clone for MemoryMapFlagBits
Source§fn clone(&self) -> MemoryMapFlagBits
fn clone(&self) -> MemoryMapFlagBits
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 MemoryMapFlagBits
impl Debug for MemoryMapFlagBits
Source§impl Default for MemoryMapFlagBits
impl Default for MemoryMapFlagBits
Source§fn default() -> MemoryMapFlagBits
fn default() -> MemoryMapFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for MemoryMapFlagBits
impl Hash for MemoryMapFlagBits
Source§impl Not for MemoryMapFlagBits
impl Not for MemoryMapFlagBits
Source§type Output = MemoryMapFlagBits
type Output = MemoryMapFlagBits
The resulting type after applying the
! operator.Source§fn not(self) -> MemoryMapFlagBits
fn not(self) -> MemoryMapFlagBits
Performs the unary
! operation. Read moreSource§impl Ord for MemoryMapFlagBits
impl Ord for MemoryMapFlagBits
Source§fn cmp(&self, other: &MemoryMapFlagBits) -> Ordering
fn cmp(&self, other: &MemoryMapFlagBits) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MemoryMapFlagBits
impl PartialEq for MemoryMapFlagBits
Source§impl PartialOrd for MemoryMapFlagBits
impl PartialOrd for MemoryMapFlagBits
impl Copy for MemoryMapFlagBits
impl Eq for MemoryMapFlagBits
impl StructuralPartialEq for MemoryMapFlagBits
Auto Trait Implementations§
impl Freeze for MemoryMapFlagBits
impl RefUnwindSafe for MemoryMapFlagBits
impl Send for MemoryMapFlagBits
impl Sync for MemoryMapFlagBits
impl Unpin for MemoryMapFlagBits
impl UnsafeUnpin for MemoryMapFlagBits
impl UnwindSafe for MemoryMapFlagBits
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