Struct screen_13::prelude::vk::PeerMemoryFeatureFlags
source · pub struct PeerMemoryFeatureFlags(_);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 = 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
source§impl 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§
source§impl BitAnd<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitAnd<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
§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<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitAndAssign<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
source§fn bitand_assign(&mut self, rhs: PeerMemoryFeatureFlags)
fn bitand_assign(&mut self, rhs: PeerMemoryFeatureFlags)
Performs the
&= operation. Read moresource§impl BitOr<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitOr<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
§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<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitOrAssign<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
source§fn bitor_assign(&mut self, rhs: PeerMemoryFeatureFlags)
fn bitor_assign(&mut self, rhs: PeerMemoryFeatureFlags)
Performs the
|= operation. Read moresource§impl BitXor<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitXor<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
§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<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl BitXorAssign<PeerMemoryFeatureFlags> 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 copy 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 Hash for PeerMemoryFeatureFlags
impl Hash for PeerMemoryFeatureFlags
source§impl Not for PeerMemoryFeatureFlags
impl Not for PeerMemoryFeatureFlags
§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§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<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl PartialEq<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
source§fn 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 ==.source§impl PartialOrd<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
impl PartialOrd<PeerMemoryFeatureFlags> for PeerMemoryFeatureFlags
source§fn partial_cmp(&self, other: &PeerMemoryFeatureFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &PeerMemoryFeatureFlags) -> Option<Ordering>
1.0.0 · source§fn 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