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