pub struct PeerMemoryFeatureFlags(/* private fields */);Expand description
Implementations§
Source§impl 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
Source§impl PeerMemoryFeatureFlags
impl PeerMemoryFeatureFlags
Sourcepub const COPY_SRC: PeerMemoryFeatureFlags
pub const COPY_SRC: PeerMemoryFeatureFlags
Can read with vkCmdCopy commands
Sourcepub const COPY_DST: PeerMemoryFeatureFlags
pub const COPY_DST: PeerMemoryFeatureFlags
Can write with vkCmdCopy commands
Sourcepub const GENERIC_SRC: PeerMemoryFeatureFlags
pub const GENERIC_SRC: PeerMemoryFeatureFlags
Can read with any access type/command
Sourcepub const GENERIC_DST: PeerMemoryFeatureFlags
pub const GENERIC_DST: PeerMemoryFeatureFlags
Can write with and access type/command
Source§impl PeerMemoryFeatureFlags
Generated from ‘VK_KHR_device_group’
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§
Source§impl BitAnd for PeerMemoryFeatureFlags
impl BitAnd for PeerMemoryFeatureFlags
Source§type Output = PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
fn bitand(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for PeerMemoryFeatureFlags
impl BitAndAssign for PeerMemoryFeatureFlags
Source§fn bitand_assign(&mut self, rhs: PeerMemoryFeatureFlags)
fn bitand_assign(&mut self, rhs: PeerMemoryFeatureFlags)
Performs the
&= operation. Read moreSource§impl BitOr for PeerMemoryFeatureFlags
impl BitOr for PeerMemoryFeatureFlags
Source§type Output = PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
fn bitor(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for PeerMemoryFeatureFlags
impl BitOrAssign for PeerMemoryFeatureFlags
Source§fn bitor_assign(&mut self, rhs: PeerMemoryFeatureFlags)
fn bitor_assign(&mut self, rhs: PeerMemoryFeatureFlags)
Performs the
|= operation. Read moreSource§impl BitXor for PeerMemoryFeatureFlags
impl BitXor for PeerMemoryFeatureFlags
Source§type Output = PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
fn bitxor(self, rhs: PeerMemoryFeatureFlags) -> PeerMemoryFeatureFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for PeerMemoryFeatureFlags
impl BitXorAssign for PeerMemoryFeatureFlags
Source§fn bitxor_assign(&mut self, rhs: PeerMemoryFeatureFlags)
fn bitxor_assign(&mut self, rhs: PeerMemoryFeatureFlags)
Performs the
^= operation. Read moreSource§impl Clone for PeerMemoryFeatureFlags
impl Clone for PeerMemoryFeatureFlags
Source§fn clone(&self) -> PeerMemoryFeatureFlags
fn clone(&self) -> PeerMemoryFeatureFlags
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PeerMemoryFeatureFlags
impl Debug for PeerMemoryFeatureFlags
Source§impl Default for PeerMemoryFeatureFlags
impl Default for PeerMemoryFeatureFlags
Source§fn default() -> PeerMemoryFeatureFlags
fn default() -> PeerMemoryFeatureFlags
Returns the “default value” for a type. Read more
Source§impl Hash for PeerMemoryFeatureFlags
impl Hash for PeerMemoryFeatureFlags
Source§impl Not for PeerMemoryFeatureFlags
impl Not for PeerMemoryFeatureFlags
Source§type Output = PeerMemoryFeatureFlags
type Output = PeerMemoryFeatureFlags
The resulting type after applying the
! operator.Source§fn not(self) -> PeerMemoryFeatureFlags
fn not(self) -> PeerMemoryFeatureFlags
Performs the unary
! operation. Read moreSource§impl Ord for PeerMemoryFeatureFlags
impl Ord for PeerMemoryFeatureFlags
Source§impl PartialEq for PeerMemoryFeatureFlags
impl PartialEq for PeerMemoryFeatureFlags
Source§impl PartialOrd for PeerMemoryFeatureFlags
impl PartialOrd for PeerMemoryFeatureFlags
impl Copy for PeerMemoryFeatureFlags
impl Eq for PeerMemoryFeatureFlags
impl StructuralPartialEq for PeerMemoryFeatureFlags
Auto Trait Implementations§
impl Freeze for PeerMemoryFeatureFlags
impl RefUnwindSafe for PeerMemoryFeatureFlags
impl Send for PeerMemoryFeatureFlags
impl Sync for PeerMemoryFeatureFlags
impl Unpin for PeerMemoryFeatureFlags
impl UnwindSafe for PeerMemoryFeatureFlags
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)