#[repr(transparent)]pub struct PeerMemoryFeatureFlags(_);Expand description
Implementations
sourceimpl PeerMemoryFeatureFlags
impl PeerMemoryFeatureFlags
pub const fn empty() -> PeerMemoryFeatureFlags
pub const fn from_raw(x: u32) -> PeerMemoryFeatureFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: PeerMemoryFeatureFlags) -> bool
sourcepub const fn contains(self, other: PeerMemoryFeatureFlags) -> bool
pub const fn contains(self, other: PeerMemoryFeatureFlags) -> bool
Returns whether other is a subset of self
sourceimpl PeerMemoryFeatureFlags
impl PeerMemoryFeatureFlags
sourcepub const COPY_SRC: PeerMemoryFeatureFlags = Self(1)
pub const COPY_SRC: PeerMemoryFeatureFlags = Self(1)
Can read with vkCmdCopy commands
sourcepub const COPY_DST: PeerMemoryFeatureFlags = Self(2)
pub const COPY_DST: PeerMemoryFeatureFlags = Self(2)
Can write with vkCmdCopy commands
sourcepub const GENERIC_SRC: PeerMemoryFeatureFlags = Self(4)
pub const GENERIC_SRC: PeerMemoryFeatureFlags = Self(4)
Can read with any access type/command
sourcepub const GENERIC_DST: PeerMemoryFeatureFlags = Self(8)
pub const GENERIC_DST: PeerMemoryFeatureFlags = Self(8)
Can write with and access type/command
sourceimpl PeerMemoryFeatureFlags
impl PeerMemoryFeatureFlags
Generated from ‘VK_KHR_device_group’
pub const COPY_SRC_KHR: PeerMemoryFeatureFlags = Self::COPY_SRC
pub const COPY_DST_KHR: PeerMemoryFeatureFlags = Self::COPY_DST
pub const GENERIC_SRC_KHR: PeerMemoryFeatureFlags = Self::GENERIC_SRC
pub const GENERIC_DST_KHR: PeerMemoryFeatureFlags = Self::GENERIC_DST
Trait Implementations
sourceimpl BitAnd<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitAnd<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
fn bitand(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitAndAssign<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
sourcefn bitand_assign(&mut self, rhs: PeerMemoryFeatureFlags)
fn bitand_assign(&mut self, rhs: PeerMemoryFeatureFlags)
Performs the &= operation. Read more
sourceimpl BitOr<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitOr<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
fn bitor(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitOrAssign<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
sourcefn bitor_assign(&mut self, rhs: PeerMemoryFeatureFlags)
fn bitor_assign(&mut self, rhs: PeerMemoryFeatureFlags)
Performs the |= operation. Read more
sourceimpl BitXor<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitXor<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
fn bitxor(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitXorAssign<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
sourcefn bitxor_assign(&mut self, rhs: PeerMemoryFeatureFlags)
fn bitxor_assign(&mut self, rhs: PeerMemoryFeatureFlags)
Performs the ^= operation. Read more
sourceimpl Clone for PeerMemoryFeatureFlags
impl Clone for PeerMemoryFeatureFlags
sourcefn clone(&self) -> PeerMemoryFeatureFlags
fn clone(&self) -> PeerMemoryFeatureFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PeerMemoryFeatureFlags
impl Debug for PeerMemoryFeatureFlags
sourceimpl Default for PeerMemoryFeatureFlags
impl Default for PeerMemoryFeatureFlags
sourcefn default() -> PeerMemoryFeatureFlags
fn default() -> PeerMemoryFeatureFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for PeerMemoryFeatureFlags
impl Hash for PeerMemoryFeatureFlags
sourceimpl Not for PeerMemoryFeatureFlags
impl Not for PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> PeerMemoryFeatureFlags
fn not(self) -> PeerMemoryFeatureFlags
Performs the unary ! operation. Read more
sourceimpl Ord for PeerMemoryFeatureFlags
impl Ord for PeerMemoryFeatureFlags
sourceimpl PartialEq<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl PartialEq<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
sourcefn eq(&self, other: &PeerMemoryFeatureFlags) -> bool
fn eq(&self, other: &PeerMemoryFeatureFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PeerMemoryFeatureFlags) -> bool
fn ne(&self, other: &PeerMemoryFeatureFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl PartialOrd<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
sourcefn partial_cmp(&self, other: &PeerMemoryFeatureFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &PeerMemoryFeatureFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for PeerMemoryFeatureFlags
impl Eq for PeerMemoryFeatureFlags
impl StructuralEq for PeerMemoryFeatureFlags
impl StructuralPartialEq for PeerMemoryFeatureFlags
Auto Trait Implementations
impl RefUnwindSafe for PeerMemoryFeatureFlags
impl Send for PeerMemoryFeatureFlags
impl Sync for PeerMemoryFeatureFlags
impl Unpin for PeerMemoryFeatureFlags
impl UnwindSafe for PeerMemoryFeatureFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more