#[repr(transparent)]pub struct PeerMemoryFeatureFlags(pub i32);Expand description
VkPeerMemoryFeatureFlags
Tuple Fields§
§0: i32Implementations§
Source§impl PeerMemoryFeatureFlags
impl PeerMemoryFeatureFlags
Sourcepub const fn has_any_flags(self, flags: Self) -> bool
pub const fn has_any_flags(self, flags: Self) -> bool
return is any bits in flags are set
Sourcepub const fn has_flags_only(self, flags: Self) -> bool
pub const fn has_flags_only(self, flags: Self) -> bool
return is only bits in flags are set
Source§impl PeerMemoryFeatureFlags
impl PeerMemoryFeatureFlags
Sourcepub const CopySrc: Self
pub const CopySrc: Self
VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT = 1 << 0
Can read with vkCmdCopy commands
Sourcepub const CopyDst: Self
pub const CopyDst: Self
VK_PEER_MEMORY_FEATURE_COPY_DST_BIT = 1 << 1
Can write with vkCmdCopy commands
Sourcepub const GenericSrc: Self
pub const GenericSrc: Self
VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT = 1 << 2
Can read with any access type/command
Sourcepub const GenericDst: Self
pub const GenericDst: Self
VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT = 1 << 3
Can write with and access type/command
Sourcepub const CopySrcKhr: Self
pub const CopySrcKhr: Self
VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT_KHR = VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT
Sourcepub const CopyDstKhr: Self
pub const CopyDstKhr: Self
VK_PEER_MEMORY_FEATURE_COPY_DST_BIT_KHR = VK_PEER_MEMORY_FEATURE_COPY_DST_BIT
Sourcepub const GenericSrcKhr: Self
pub const GenericSrcKhr: Self
VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT_KHR = VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT
Sourcepub const GenericDstKhr: Self
pub const GenericDstKhr: Self
VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT_KHR = VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT
Trait Implementations§
Source§impl<'a> Abi<*const VkPeerMemoryFeatureFlags> for &'a PeerMemoryFeatureFlags
impl<'a> Abi<*const VkPeerMemoryFeatureFlags> for &'a PeerMemoryFeatureFlags
fn abi(self) -> *const VkPeerMemoryFeatureFlags
Source§impl<'a> Abi<*mut VkPeerMemoryFeatureFlags> for &'a mut PeerMemoryFeatureFlags
impl<'a> Abi<*mut VkPeerMemoryFeatureFlags> for &'a mut PeerMemoryFeatureFlags
fn abi(self) -> *mut VkPeerMemoryFeatureFlags
Source§impl Abi<VkPeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl Abi<VkPeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
fn abi(self) -> VkPeerMemoryFeatureFlags
Source§impl BitAnd for PeerMemoryFeatureFlags
impl BitAnd for PeerMemoryFeatureFlags
Source§impl BitAndAssign for PeerMemoryFeatureFlags
impl BitAndAssign for PeerMemoryFeatureFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for PeerMemoryFeatureFlags
impl BitOr for PeerMemoryFeatureFlags
Source§impl BitOrAssign for PeerMemoryFeatureFlags
impl BitOrAssign for PeerMemoryFeatureFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for PeerMemoryFeatureFlags
impl BitXor for PeerMemoryFeatureFlags
Source§impl BitXorAssign for PeerMemoryFeatureFlags
impl BitXorAssign for PeerMemoryFeatureFlags
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
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 · 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 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 Display for PeerMemoryFeatureFlags
impl Display for PeerMemoryFeatureFlags
Source§impl From<PeerMemoryFeatureFlags> for VkPeerMemoryFeatureFlags
impl From<PeerMemoryFeatureFlags> for VkPeerMemoryFeatureFlags
Source§fn from(value: PeerMemoryFeatureFlags) -> Self
fn from(value: PeerMemoryFeatureFlags) -> Self
Converts to this type from the input type.
Source§impl From<PeerMemoryFeatureFlags> for i32
impl From<PeerMemoryFeatureFlags> for i32
Source§fn from(value: PeerMemoryFeatureFlags) -> Self
fn from(value: PeerMemoryFeatureFlags) -> Self
Converts to this type from the input type.
Source§impl From<VkPeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl From<VkPeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
Source§fn from(value: VkPeerMemoryFeatureFlags) -> Self
fn from(value: VkPeerMemoryFeatureFlags) -> Self
Converts to this type from the input type.
Source§impl From<i32> for PeerMemoryFeatureFlags
impl From<i32> for PeerMemoryFeatureFlags
Source§impl Hash for PeerMemoryFeatureFlags
impl Hash for PeerMemoryFeatureFlags
Source§impl Not for PeerMemoryFeatureFlags
impl Not for PeerMemoryFeatureFlags
Source§impl Ord for PeerMemoryFeatureFlags
impl Ord for PeerMemoryFeatureFlags
Source§fn cmp(&self, other: &PeerMemoryFeatureFlags) -> Ordering
fn cmp(&self, other: &PeerMemoryFeatureFlags) -> 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 PartialEq for PeerMemoryFeatureFlags
impl PartialEq for PeerMemoryFeatureFlags
Source§impl PartialOrd for PeerMemoryFeatureFlags
impl PartialOrd for PeerMemoryFeatureFlags
Source§impl<'a> Sys<'a> for PeerMemoryFeatureFlags
impl<'a> Sys<'a> for PeerMemoryFeatureFlags
type Target = VkPeerMemoryFeatureFlags
Source§fn sys(self) -> VkPeerMemoryFeatureFlags
fn sys(self) -> VkPeerMemoryFeatureFlags
Convert to sys types
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 UnsafeUnpin for PeerMemoryFeatureFlags
impl UnwindSafe for PeerMemoryFeatureFlags
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