pub struct PeerMemoryFeatureFlagBits(/* private fields */);Expand description
Implementations§
Source§impl PeerMemoryFeatureFlagBits
impl PeerMemoryFeatureFlagBits
Sourcepub const GENERIC_SRC: Self
pub const GENERIC_SRC: Self
Bit 2.
Sourcepub const GENERIC_DST: Self
pub const GENERIC_DST: Self
Bit 3.
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAnd for PeerMemoryFeatureFlagBits
impl BitAnd for PeerMemoryFeatureFlagBits
Source§impl BitAndAssign for PeerMemoryFeatureFlagBits
impl BitAndAssign for PeerMemoryFeatureFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for PeerMemoryFeatureFlagBits
impl BitOr for PeerMemoryFeatureFlagBits
Source§impl BitOrAssign for PeerMemoryFeatureFlagBits
impl BitOrAssign for PeerMemoryFeatureFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for PeerMemoryFeatureFlagBits
impl BitXor for PeerMemoryFeatureFlagBits
Source§impl BitXorAssign for PeerMemoryFeatureFlagBits
impl BitXorAssign for PeerMemoryFeatureFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for PeerMemoryFeatureFlagBits
impl Clone for PeerMemoryFeatureFlagBits
Source§fn clone(&self) -> PeerMemoryFeatureFlagBits
fn clone(&self) -> PeerMemoryFeatureFlagBits
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 PeerMemoryFeatureFlagBits
impl Debug for PeerMemoryFeatureFlagBits
Source§impl Default for PeerMemoryFeatureFlagBits
impl Default for PeerMemoryFeatureFlagBits
Source§fn default() -> PeerMemoryFeatureFlagBits
fn default() -> PeerMemoryFeatureFlagBits
Returns the “default value” for a type. Read more
Source§impl Hash for PeerMemoryFeatureFlagBits
impl Hash for PeerMemoryFeatureFlagBits
Source§impl Not for PeerMemoryFeatureFlagBits
impl Not for PeerMemoryFeatureFlagBits
Source§impl Ord for PeerMemoryFeatureFlagBits
impl Ord for PeerMemoryFeatureFlagBits
Source§fn cmp(&self, other: &PeerMemoryFeatureFlagBits) -> Ordering
fn cmp(&self, other: &PeerMemoryFeatureFlagBits) -> 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 PartialOrd for PeerMemoryFeatureFlagBits
impl PartialOrd for PeerMemoryFeatureFlagBits
impl Copy for PeerMemoryFeatureFlagBits
impl Eq for PeerMemoryFeatureFlagBits
impl StructuralPartialEq for PeerMemoryFeatureFlagBits
Auto Trait Implementations§
impl Freeze for PeerMemoryFeatureFlagBits
impl RefUnwindSafe for PeerMemoryFeatureFlagBits
impl Send for PeerMemoryFeatureFlagBits
impl Sync for PeerMemoryFeatureFlagBits
impl Unpin for PeerMemoryFeatureFlagBits
impl UnsafeUnpin for PeerMemoryFeatureFlagBits
impl UnwindSafe for PeerMemoryFeatureFlagBits
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