Struct erupt::vk1_1::ExternalMemoryFeatureFlagBits
source · #[repr(transparent)]pub struct ExternalMemoryFeatureFlagBits(pub u32);
Expand description
Vulkan Manual Page · Bits enum of ExternalMemoryFeatureFlags
Tuple Fields
0: u32
Implementations
sourceimpl ExternalMemoryFeatureFlagBits
impl ExternalMemoryFeatureFlagBits
pub const DEDICATED_ONLY_KHR: Self = Self::DEDICATED_ONLY
pub const EXPORTABLE_KHR: Self = Self::EXPORTABLE
pub const IMPORTABLE_KHR: Self = Self::IMPORTABLE
sourceimpl ExternalMemoryFeatureFlagBits
impl ExternalMemoryFeatureFlagBits
sourcepub const fn bitmask(&self) -> ExternalMemoryFeatureFlags
pub const fn bitmask(&self) -> ExternalMemoryFeatureFlags
Converts this enum variant to the corresponding bitmask
sourceimpl ExternalMemoryFeatureFlagBits
impl ExternalMemoryFeatureFlagBits
Provided by crate::vk1_1
pub const DEDICATED_ONLY: Self = _
pub const EXPORTABLE: Self = _
pub const IMPORTABLE: Self = _
Trait Implementations
sourceimpl Clone for ExternalMemoryFeatureFlagBits
impl Clone for ExternalMemoryFeatureFlagBits
sourcefn clone(&self) -> ExternalMemoryFeatureFlagBits
fn clone(&self) -> ExternalMemoryFeatureFlagBits
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 ExternalMemoryFeatureFlagBits
impl Debug for ExternalMemoryFeatureFlagBits
sourceimpl Default for ExternalMemoryFeatureFlagBits
impl Default for ExternalMemoryFeatureFlagBits
sourcefn default() -> ExternalMemoryFeatureFlagBits
fn default() -> ExternalMemoryFeatureFlagBits
Returns the “default value” for a type. Read more
sourceimpl Hash for ExternalMemoryFeatureFlagBits
impl Hash for ExternalMemoryFeatureFlagBits
sourceimpl Ord for ExternalMemoryFeatureFlagBits
impl Ord for ExternalMemoryFeatureFlagBits
sourcefn cmp(&self, other: &ExternalMemoryFeatureFlagBits) -> Ordering
fn cmp(&self, other: &ExternalMemoryFeatureFlagBits) -> 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<ExternalMemoryFeatureFlagBits> for ExternalMemoryFeatureFlagBits
impl PartialEq<ExternalMemoryFeatureFlagBits> for ExternalMemoryFeatureFlagBits
sourcefn eq(&self, other: &ExternalMemoryFeatureFlagBits) -> bool
fn eq(&self, other: &ExternalMemoryFeatureFlagBits) -> bool
sourceimpl PartialOrd<ExternalMemoryFeatureFlagBits> for ExternalMemoryFeatureFlagBits
impl PartialOrd<ExternalMemoryFeatureFlagBits> for ExternalMemoryFeatureFlagBits
sourcefn partial_cmp(&self, other: &ExternalMemoryFeatureFlagBits) -> Option<Ordering>
fn partial_cmp(&self, other: &ExternalMemoryFeatureFlagBits) -> 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 ExternalMemoryFeatureFlagBits
impl Eq for ExternalMemoryFeatureFlagBits
impl StructuralEq for ExternalMemoryFeatureFlagBits
impl StructuralPartialEq for ExternalMemoryFeatureFlagBits
Auto Trait Implementations
impl RefUnwindSafe for ExternalMemoryFeatureFlagBits
impl Send for ExternalMemoryFeatureFlagBits
impl Sync for ExternalMemoryFeatureFlagBits
impl Unpin for ExternalMemoryFeatureFlagBits
impl UnwindSafe for ExternalMemoryFeatureFlagBits
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