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