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