Struct screen_13::prelude::vk::EventCreateFlags
source · pub struct EventCreateFlags(/* private fields */);
Expand description
Implementations§
source§impl 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
source§impl EventCreateFlags
impl EventCreateFlags
Generated from ‘VK_KHR_synchronization2’
pub const DEVICE_ONLY_KHR: EventCreateFlags = Self::DEVICE_ONLY
source§impl EventCreateFlags
impl EventCreateFlags
Generated from ‘VK_VERSION_1_3’
pub const DEVICE_ONLY: EventCreateFlags = _
Trait Implementations§
source§impl BitAnd for EventCreateFlags
impl BitAnd for EventCreateFlags
§type Output = EventCreateFlags
type Output = EventCreateFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: EventCreateFlags) -> EventCreateFlags
fn bitand(self, rhs: EventCreateFlags) -> EventCreateFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for EventCreateFlags
impl BitAndAssign for EventCreateFlags
source§fn bitand_assign(&mut self, rhs: EventCreateFlags)
fn bitand_assign(&mut self, rhs: EventCreateFlags)
Performs the
&=
operation. Read moresource§impl BitOr for EventCreateFlags
impl BitOr for EventCreateFlags
§type Output = EventCreateFlags
type Output = EventCreateFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: EventCreateFlags) -> EventCreateFlags
fn bitor(self, rhs: EventCreateFlags) -> EventCreateFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for EventCreateFlags
impl BitOrAssign for EventCreateFlags
source§fn bitor_assign(&mut self, rhs: EventCreateFlags)
fn bitor_assign(&mut self, rhs: EventCreateFlags)
Performs the
|=
operation. Read moresource§impl BitXor for EventCreateFlags
impl BitXor for EventCreateFlags
§type Output = EventCreateFlags
type Output = EventCreateFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: EventCreateFlags) -> EventCreateFlags
fn bitxor(self, rhs: EventCreateFlags) -> EventCreateFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for EventCreateFlags
impl BitXorAssign for EventCreateFlags
source§fn bitxor_assign(&mut self, rhs: EventCreateFlags)
fn bitxor_assign(&mut self, rhs: EventCreateFlags)
Performs the
^=
operation. Read moresource§impl Clone for EventCreateFlags
impl Clone for EventCreateFlags
source§fn clone(&self) -> EventCreateFlags
fn clone(&self) -> EventCreateFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventCreateFlags
impl Debug for EventCreateFlags
source§impl Default for EventCreateFlags
impl Default for EventCreateFlags
source§fn default() -> EventCreateFlags
fn default() -> EventCreateFlags
Returns the “default value” for a type. Read more
source§impl Hash for EventCreateFlags
impl Hash for EventCreateFlags
source§impl Not for EventCreateFlags
impl Not for EventCreateFlags
§type Output = EventCreateFlags
type Output = EventCreateFlags
The resulting type after applying the
!
operator.source§fn not(self) -> EventCreateFlags
fn not(self) -> EventCreateFlags
Performs the unary
!
operation. Read moresource§impl Ord for EventCreateFlags
impl Ord for EventCreateFlags
source§fn cmp(&self, other: &EventCreateFlags) -> Ordering
fn cmp(&self, other: &EventCreateFlags) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq for EventCreateFlags
impl PartialEq for EventCreateFlags
source§fn eq(&self, other: &EventCreateFlags) -> bool
fn eq(&self, other: &EventCreateFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for EventCreateFlags
impl PartialOrd for EventCreateFlags
source§fn partial_cmp(&self, other: &EventCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &EventCreateFlags) -> Option<Ordering>
1.0.0 · source§fn 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 EventCreateFlags
impl Eq 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.