pub struct EntryPointFlags { /* private fields */ }Implementations§
Source§impl EntryPointFlags
impl EntryPointFlags
pub const MEMFD_ELIGIBLE: Self
pub const fn empty() -> Self
pub const fn bits(&self) -> u8
Sourcepub const fn from_bits_retain(bits: u8) -> Self
pub const fn from_bits_retain(bits: u8) -> Self
Wrap raw bits, retaining every bit (including bits with no
defined flag). Named to match its behavior; it does not mask
to known flags the way real from_bits_truncate would.
pub const fn contains(&self, other: Self) -> bool
Trait Implementations§
Source§impl BitOr for EntryPointFlags
impl BitOr for EntryPointFlags
Source§impl BitOrAssign for EntryPointFlags
impl BitOrAssign for EntryPointFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for EntryPointFlags
impl Clone for EntryPointFlags
Source§fn clone(&self) -> EntryPointFlags
fn clone(&self) -> EntryPointFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EntryPointFlags
Source§impl Debug for EntryPointFlags
impl Debug for EntryPointFlags
impl Eq for EntryPointFlags
Source§impl PartialEq for EntryPointFlags
impl PartialEq for EntryPointFlags
impl StructuralPartialEq for EntryPointFlags
Auto Trait Implementations§
impl Freeze for EntryPointFlags
impl RefUnwindSafe for EntryPointFlags
impl Send for EntryPointFlags
impl Sync for EntryPointFlags
impl Unpin for EntryPointFlags
impl UnsafeUnpin for EntryPointFlags
impl UnwindSafe for EntryPointFlags
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