Struct erupt::vk1_1::PeerMemoryFeatureFlagBits
source · #[repr(transparent)]pub struct PeerMemoryFeatureFlagBits(pub u32);
Expand description
Vulkan Manual Page · Bits enum of PeerMemoryFeatureFlags
Tuple Fields
0: u32
Implementations
sourceimpl PeerMemoryFeatureFlagBits
impl PeerMemoryFeatureFlagBits
Provided by crate::extensions::khr_device_group
pub const COPY_SRC_KHR: Self = Self::COPY_SRC
pub const COPY_DST_KHR: Self = Self::COPY_DST
pub const GENERIC_SRC_KHR: Self = Self::GENERIC_SRC
pub const GENERIC_DST_KHR: Self = Self::GENERIC_DST
sourceimpl PeerMemoryFeatureFlagBits
impl PeerMemoryFeatureFlagBits
sourcepub const fn bitmask(&self) -> PeerMemoryFeatureFlags
pub const fn bitmask(&self) -> PeerMemoryFeatureFlags
Converts this enum variant to the corresponding bitmask
sourceimpl PeerMemoryFeatureFlagBits
impl PeerMemoryFeatureFlagBits
Provided by crate::vk1_1
pub const COPY_SRC: Self = _
pub const COPY_DST: Self = _
pub const GENERIC_SRC: Self = _
pub const GENERIC_DST: Self = _
Trait Implementations
sourceimpl Clone for PeerMemoryFeatureFlagBits
impl Clone for PeerMemoryFeatureFlagBits
sourcefn clone(&self) -> PeerMemoryFeatureFlagBits
fn clone(&self) -> PeerMemoryFeatureFlagBits
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 moresourceimpl Debug for PeerMemoryFeatureFlagBits
impl Debug for PeerMemoryFeatureFlagBits
sourceimpl Default for PeerMemoryFeatureFlagBits
impl Default for PeerMemoryFeatureFlagBits
sourcefn default() -> PeerMemoryFeatureFlagBits
fn default() -> PeerMemoryFeatureFlagBits
Returns the “default value” for a type. Read more
sourceimpl Hash for PeerMemoryFeatureFlagBits
impl Hash for PeerMemoryFeatureFlagBits
sourceimpl Ord for PeerMemoryFeatureFlagBits
impl Ord for PeerMemoryFeatureFlagBits
sourcefn cmp(&self, other: &PeerMemoryFeatureFlagBits) -> Ordering
fn cmp(&self, other: &PeerMemoryFeatureFlagBits) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<PeerMemoryFeatureFlagBits> for PeerMemoryFeatureFlagBits
impl PartialEq<PeerMemoryFeatureFlagBits> for PeerMemoryFeatureFlagBits
sourcefn eq(&self, other: &PeerMemoryFeatureFlagBits) -> bool
fn eq(&self, other: &PeerMemoryFeatureFlagBits) -> bool
sourceimpl PartialOrd<PeerMemoryFeatureFlagBits> for PeerMemoryFeatureFlagBits
impl PartialOrd<PeerMemoryFeatureFlagBits> for PeerMemoryFeatureFlagBits
sourcefn partial_cmp(&self, other: &PeerMemoryFeatureFlagBits) -> Option<Ordering>
fn partial_cmp(&self, other: &PeerMemoryFeatureFlagBits) -> Option<Ordering>
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 moreimpl Copy for PeerMemoryFeatureFlagBits
impl Eq for PeerMemoryFeatureFlagBits
impl StructuralEq for PeerMemoryFeatureFlagBits
impl StructuralPartialEq for PeerMemoryFeatureFlagBits
Auto Trait Implementations
impl RefUnwindSafe for PeerMemoryFeatureFlagBits
impl Send for PeerMemoryFeatureFlagBits
impl Sync for PeerMemoryFeatureFlagBits
impl Unpin for PeerMemoryFeatureFlagBits
impl UnwindSafe for PeerMemoryFeatureFlagBits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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