Struct screen_13::prelude::vk::SemaphoreCreateFlags
source · pub struct SemaphoreCreateFlags(/* private fields */);
Expand description
Implementations§
source§impl SemaphoreCreateFlags
impl SemaphoreCreateFlags
pub const fn empty() -> SemaphoreCreateFlags
pub const fn from_raw(x: u32) -> SemaphoreCreateFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SemaphoreCreateFlags) -> bool
sourcepub const fn contains(self, other: SemaphoreCreateFlags) -> bool
pub const fn contains(self, other: SemaphoreCreateFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations§
source§impl BitAnd for SemaphoreCreateFlags
impl BitAnd for SemaphoreCreateFlags
§type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
fn bitand(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for SemaphoreCreateFlags
impl BitAndAssign for SemaphoreCreateFlags
source§fn bitand_assign(&mut self, rhs: SemaphoreCreateFlags)
fn bitand_assign(&mut self, rhs: SemaphoreCreateFlags)
Performs the
&=
operation. Read moresource§impl BitOr for SemaphoreCreateFlags
impl BitOr for SemaphoreCreateFlags
§type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
fn bitor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for SemaphoreCreateFlags
impl BitOrAssign for SemaphoreCreateFlags
source§fn bitor_assign(&mut self, rhs: SemaphoreCreateFlags)
fn bitor_assign(&mut self, rhs: SemaphoreCreateFlags)
Performs the
|=
operation. Read moresource§impl BitXor for SemaphoreCreateFlags
impl BitXor for SemaphoreCreateFlags
§type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
fn bitxor(self, rhs: SemaphoreCreateFlags) -> SemaphoreCreateFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for SemaphoreCreateFlags
impl BitXorAssign for SemaphoreCreateFlags
source§fn bitxor_assign(&mut self, rhs: SemaphoreCreateFlags)
fn bitxor_assign(&mut self, rhs: SemaphoreCreateFlags)
Performs the
^=
operation. Read moresource§impl Clone for SemaphoreCreateFlags
impl Clone for SemaphoreCreateFlags
source§fn clone(&self) -> SemaphoreCreateFlags
fn clone(&self) -> SemaphoreCreateFlags
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 SemaphoreCreateFlags
impl Debug for SemaphoreCreateFlags
source§impl Default for SemaphoreCreateFlags
impl Default for SemaphoreCreateFlags
source§fn default() -> SemaphoreCreateFlags
fn default() -> SemaphoreCreateFlags
Returns the “default value” for a type. Read more
source§impl Hash for SemaphoreCreateFlags
impl Hash for SemaphoreCreateFlags
source§impl Not for SemaphoreCreateFlags
impl Not for SemaphoreCreateFlags
§type Output = SemaphoreCreateFlags
type Output = SemaphoreCreateFlags
The resulting type after applying the
!
operator.source§fn not(self) -> SemaphoreCreateFlags
fn not(self) -> SemaphoreCreateFlags
Performs the unary
!
operation. Read moresource§impl Ord for SemaphoreCreateFlags
impl Ord for SemaphoreCreateFlags
source§fn cmp(&self, other: &SemaphoreCreateFlags) -> Ordering
fn cmp(&self, other: &SemaphoreCreateFlags) -> 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 SemaphoreCreateFlags
impl PartialEq for SemaphoreCreateFlags
source§fn eq(&self, other: &SemaphoreCreateFlags) -> bool
fn eq(&self, other: &SemaphoreCreateFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SemaphoreCreateFlags
impl PartialOrd for SemaphoreCreateFlags
source§fn partial_cmp(&self, other: &SemaphoreCreateFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SemaphoreCreateFlags) -> 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 SemaphoreCreateFlags
impl Eq for SemaphoreCreateFlags
impl StructuralPartialEq for SemaphoreCreateFlags
Auto Trait Implementations§
impl RefUnwindSafe for SemaphoreCreateFlags
impl Send for SemaphoreCreateFlags
impl Sync for SemaphoreCreateFlags
impl Unpin for SemaphoreCreateFlags
impl UnwindSafe for SemaphoreCreateFlags
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.