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