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