Struct screen_13::prelude::vk::SubmitFlags
source · pub struct SubmitFlags(_);Expand description
Implementations
sourceimpl 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
sourceimpl SubmitFlags
impl SubmitFlags
pub const PROTECTED: SubmitFlags = Self(1)
pub const PROTECTED_KHR: SubmitFlags = Self::PROTECTED
Trait Implementations
sourceimpl BitAnd<SubmitFlags> for SubmitFlags
impl BitAnd<SubmitFlags> for SubmitFlags
type Output = SubmitFlags
type Output = SubmitFlags
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: SubmitFlags) -> SubmitFlags
fn bitand(self, rhs: SubmitFlags) -> SubmitFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<SubmitFlags> for SubmitFlags
impl BitAndAssign<SubmitFlags> for SubmitFlags
sourcefn bitand_assign(&mut self, rhs: SubmitFlags)
fn bitand_assign(&mut self, rhs: SubmitFlags)
Performs the
&= operation. Read moresourceimpl BitOr<SubmitFlags> for SubmitFlags
impl BitOr<SubmitFlags> for SubmitFlags
type Output = SubmitFlags
type Output = SubmitFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: SubmitFlags) -> SubmitFlags
fn bitor(self, rhs: SubmitFlags) -> SubmitFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<SubmitFlags> for SubmitFlags
impl BitOrAssign<SubmitFlags> for SubmitFlags
sourcefn bitor_assign(&mut self, rhs: SubmitFlags)
fn bitor_assign(&mut self, rhs: SubmitFlags)
Performs the
|= operation. Read moresourceimpl BitXor<SubmitFlags> for SubmitFlags
impl BitXor<SubmitFlags> for SubmitFlags
type Output = SubmitFlags
type Output = SubmitFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: SubmitFlags) -> SubmitFlags
fn bitxor(self, rhs: SubmitFlags) -> SubmitFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<SubmitFlags> for SubmitFlags
impl BitXorAssign<SubmitFlags> for SubmitFlags
sourcefn bitxor_assign(&mut self, rhs: SubmitFlags)
fn bitxor_assign(&mut self, rhs: SubmitFlags)
Performs the
^= operation. Read moresourceimpl Clone for SubmitFlags
impl Clone for SubmitFlags
sourcefn clone(&self) -> SubmitFlags
fn clone(&self) -> SubmitFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SubmitFlags
impl Debug for SubmitFlags
sourceimpl Default for SubmitFlags
impl Default for SubmitFlags
sourcefn default() -> SubmitFlags
fn default() -> SubmitFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for SubmitFlags
impl Hash for SubmitFlags
sourceimpl Not for SubmitFlags
impl Not for SubmitFlags
type Output = SubmitFlags
type Output = SubmitFlags
The resulting type after applying the
! operator.sourcefn not(self) -> SubmitFlags
fn not(self) -> SubmitFlags
Performs the unary
! operation. Read moresourceimpl Ord for SubmitFlags
impl Ord for SubmitFlags
sourcefn cmp(&self, other: &SubmitFlags) -> Ordering
fn cmp(&self, other: &SubmitFlags) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SubmitFlags> for SubmitFlags
impl PartialEq<SubmitFlags> for SubmitFlags
sourcefn eq(&self, other: &SubmitFlags) -> bool
fn eq(&self, other: &SubmitFlags) -> bool
sourceimpl PartialOrd<SubmitFlags> for SubmitFlags
impl PartialOrd<SubmitFlags> for SubmitFlags
sourcefn partial_cmp(&self, other: &SubmitFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SubmitFlags) -> Option<Ordering>
1.0.0 · sourcefn 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 StructuralEq 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
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