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