pub struct EventCreateFlags(_);Expand description
Implementations
sourceimpl EventCreateFlags
impl EventCreateFlags
pub const fn empty() -> EventCreateFlags
pub const fn from_raw(x: u32) -> EventCreateFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: EventCreateFlags) -> bool
sourcepub const fn contains(self, other: EventCreateFlags) -> bool
pub const fn contains(self, other: EventCreateFlags) -> bool
Returns whether other is a subset of self
sourceimpl EventCreateFlags
impl EventCreateFlags
Generated from ‘VK_KHR_synchronization2’
pub const DEVICE_ONLY_KHR: EventCreateFlags = Self::DEVICE_ONLY
sourceimpl EventCreateFlags
impl EventCreateFlags
Generated from ‘VK_VERSION_1_3’
pub const DEVICE_ONLY: EventCreateFlags = Self(1)
Trait Implementations
sourceimpl BitAnd<EventCreateFlags> for EventCreateFlags
impl BitAnd<EventCreateFlags> for EventCreateFlags
type Output = EventCreateFlags
type Output = EventCreateFlags
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: EventCreateFlags) -> EventCreateFlags
fn bitand(self, rhs: EventCreateFlags) -> EventCreateFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<EventCreateFlags> for EventCreateFlags
impl BitAndAssign<EventCreateFlags> for EventCreateFlags
sourcefn bitand_assign(&mut self, rhs: EventCreateFlags)
fn bitand_assign(&mut self, rhs: EventCreateFlags)
Performs the
&= operation. Read moresourceimpl BitOr<EventCreateFlags> for EventCreateFlags
impl BitOr<EventCreateFlags> for EventCreateFlags
type Output = EventCreateFlags
type Output = EventCreateFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: EventCreateFlags) -> EventCreateFlags
fn bitor(self, rhs: EventCreateFlags) -> EventCreateFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<EventCreateFlags> for EventCreateFlags
impl BitOrAssign<EventCreateFlags> for EventCreateFlags
sourcefn bitor_assign(&mut self, rhs: EventCreateFlags)
fn bitor_assign(&mut self, rhs: EventCreateFlags)
Performs the
|= operation. Read moresourceimpl BitXor<EventCreateFlags> for EventCreateFlags
impl BitXor<EventCreateFlags> for EventCreateFlags
type Output = EventCreateFlags
type Output = EventCreateFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: EventCreateFlags) -> EventCreateFlags
fn bitxor(self, rhs: EventCreateFlags) -> EventCreateFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<EventCreateFlags> for EventCreateFlags
impl BitXorAssign<EventCreateFlags> for EventCreateFlags
sourcefn bitxor_assign(&mut self, rhs: EventCreateFlags)
fn bitxor_assign(&mut self, rhs: EventCreateFlags)
Performs the
^= operation. Read moresourceimpl Clone for EventCreateFlags
impl Clone for EventCreateFlags
sourcefn clone(&self) -> EventCreateFlags
fn clone(&self) -> EventCreateFlags
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for EventCreateFlags
impl Debug for EventCreateFlags
sourceimpl Default for EventCreateFlags
impl Default for EventCreateFlags
sourcefn default() -> EventCreateFlags
fn default() -> EventCreateFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for EventCreateFlags
impl Hash for EventCreateFlags
sourceimpl Not for EventCreateFlags
impl Not for EventCreateFlags
type Output = EventCreateFlags
type Output = EventCreateFlags
The resulting type after applying the
! operator.sourcefn not(self) -> EventCreateFlags
fn not(self) -> EventCreateFlags
Performs the unary
! operation. Read moresourceimpl Ord for EventCreateFlags
impl Ord for EventCreateFlags
sourcefn cmp(&self, other: &EventCreateFlags) -> Ordering
fn cmp(&self, other: &EventCreateFlags) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<EventCreateFlags> for EventCreateFlags
impl PartialEq<EventCreateFlags> for EventCreateFlags
sourcefn eq(&self, other: &EventCreateFlags) -> bool
fn eq(&self, other: &EventCreateFlags) -> bool
sourceimpl PartialOrd<EventCreateFlags> for EventCreateFlags
impl PartialOrd<EventCreateFlags> for EventCreateFlags
sourcefn partial_cmp(&self, other: &EventCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &EventCreateFlags) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 EventCreateFlags
impl Eq for EventCreateFlags
impl StructuralEq for EventCreateFlags
impl StructuralPartialEq for EventCreateFlags
Auto Trait Implementations
impl RefUnwindSafe for EventCreateFlags
impl Send for EventCreateFlags
impl Sync for EventCreateFlags
impl Unpin for EventCreateFlags
impl UnwindSafe for EventCreateFlags
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