pub struct PeerMemoryFeatureFlagBits(/* private fields */);Expand description
Implementations§
Source§impl PeerMemoryFeatureFlagBits
impl PeerMemoryFeatureFlagBits
Sourcepub const COPY_SRC: PeerMemoryFeatureFlagBits
pub const COPY_SRC: PeerMemoryFeatureFlagBits
Bit 0.
Sourcepub const COPY_DST: PeerMemoryFeatureFlagBits
pub const COPY_DST: PeerMemoryFeatureFlagBits
Bit 1.
Sourcepub const GENERIC_SRC: PeerMemoryFeatureFlagBits
pub const GENERIC_SRC: PeerMemoryFeatureFlagBits
Bit 2.
Sourcepub const GENERIC_DST: PeerMemoryFeatureFlagBits
pub const GENERIC_DST: PeerMemoryFeatureFlagBits
Bit 3.
pub const fn empty() -> PeerMemoryFeatureFlagBits
pub const fn from_raw(value: u32) -> PeerMemoryFeatureFlagBits
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: PeerMemoryFeatureFlagBits) -> bool
pub const fn all() -> PeerMemoryFeatureFlagBits
Trait Implementations§
Source§impl BitAnd for PeerMemoryFeatureFlagBits
impl BitAnd for PeerMemoryFeatureFlagBits
Source§type Output = PeerMemoryFeatureFlagBits
type Output = PeerMemoryFeatureFlagBits
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: PeerMemoryFeatureFlagBits) -> PeerMemoryFeatureFlagBits
fn bitand(self, rhs: PeerMemoryFeatureFlagBits) -> PeerMemoryFeatureFlagBits
Performs the
& operation. Read moreSource§impl BitAndAssign for PeerMemoryFeatureFlagBits
impl BitAndAssign for PeerMemoryFeatureFlagBits
Source§fn bitand_assign(&mut self, rhs: PeerMemoryFeatureFlagBits)
fn bitand_assign(&mut self, rhs: PeerMemoryFeatureFlagBits)
Performs the
&= operation. Read moreSource§impl BitOr for PeerMemoryFeatureFlagBits
impl BitOr for PeerMemoryFeatureFlagBits
Source§type Output = PeerMemoryFeatureFlagBits
type Output = PeerMemoryFeatureFlagBits
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: PeerMemoryFeatureFlagBits) -> PeerMemoryFeatureFlagBits
fn bitor(self, rhs: PeerMemoryFeatureFlagBits) -> PeerMemoryFeatureFlagBits
Performs the
| operation. Read moreSource§impl BitOrAssign for PeerMemoryFeatureFlagBits
impl BitOrAssign for PeerMemoryFeatureFlagBits
Source§fn bitor_assign(&mut self, rhs: PeerMemoryFeatureFlagBits)
fn bitor_assign(&mut self, rhs: PeerMemoryFeatureFlagBits)
Performs the
|= operation. Read moreSource§impl BitXor for PeerMemoryFeatureFlagBits
impl BitXor for PeerMemoryFeatureFlagBits
Source§type Output = PeerMemoryFeatureFlagBits
type Output = PeerMemoryFeatureFlagBits
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: PeerMemoryFeatureFlagBits) -> PeerMemoryFeatureFlagBits
fn bitxor(self, rhs: PeerMemoryFeatureFlagBits) -> PeerMemoryFeatureFlagBits
Performs the
^ operation. Read moreSource§impl BitXorAssign for PeerMemoryFeatureFlagBits
impl BitXorAssign for PeerMemoryFeatureFlagBits
Source§fn bitxor_assign(&mut self, rhs: PeerMemoryFeatureFlagBits)
fn bitxor_assign(&mut self, rhs: PeerMemoryFeatureFlagBits)
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§type Output = PeerMemoryFeatureFlagBits
type Output = PeerMemoryFeatureFlagBits
The resulting type after applying the
! operator.Source§fn not(self) -> PeerMemoryFeatureFlagBits
fn not(self) -> PeerMemoryFeatureFlagBits
Performs the unary
! operation. Read moreSource§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