#[repr(transparent)]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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl 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 more
sourceimpl Ord for SubmitFlags
impl Ord for SubmitFlags
sourceimpl PartialEq<SubmitFlags> for SubmitFlags
impl PartialEq<SubmitFlags> for SubmitFlags
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &SubmitFlags) -> bool
fn ne(&self, other: &SubmitFlags) -> bool
This method tests for !=.
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>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
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 more
impl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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