#[repr(transparent)]pub struct RenderingFlags(_);Expand description
Implementations
sourceimpl RenderingFlags
impl RenderingFlags
pub const fn empty() -> RenderingFlags
pub const fn from_raw(x: u32) -> RenderingFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: RenderingFlags) -> bool
sourcepub const fn contains(self, other: RenderingFlags) -> bool
pub const fn contains(self, other: RenderingFlags) -> bool
Returns whether other is a subset of self
sourceimpl RenderingFlags
impl RenderingFlags
pub const CONTENTS_SECONDARY_COMMAND_BUFFERS: RenderingFlags = Self(1)
pub const CONTENTS_SECONDARY_COMMAND_BUFFERS_KHR: RenderingFlags = Self::CONTENTS_SECONDARY_COMMAND_BUFFERS
pub const SUSPENDING: RenderingFlags = Self(2)
pub const SUSPENDING_KHR: RenderingFlags = Self::SUSPENDING
pub const RESUMING: RenderingFlags = Self(4)
pub const RESUMING_KHR: RenderingFlags = Self::RESUMING
Trait Implementations
sourceimpl BitAnd<RenderingFlags> for RenderingFlags
impl BitAnd<RenderingFlags> for RenderingFlags
type Output = RenderingFlags
type Output = RenderingFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: RenderingFlags) -> RenderingFlags
fn bitand(self, rhs: RenderingFlags) -> RenderingFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<RenderingFlags> for RenderingFlags
impl BitAndAssign<RenderingFlags> for RenderingFlags
sourcefn bitand_assign(&mut self, rhs: RenderingFlags)
fn bitand_assign(&mut self, rhs: RenderingFlags)
Performs the &= operation. Read more
sourceimpl BitOr<RenderingFlags> for RenderingFlags
impl BitOr<RenderingFlags> for RenderingFlags
type Output = RenderingFlags
type Output = RenderingFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: RenderingFlags) -> RenderingFlags
fn bitor(self, rhs: RenderingFlags) -> RenderingFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<RenderingFlags> for RenderingFlags
impl BitOrAssign<RenderingFlags> for RenderingFlags
sourcefn bitor_assign(&mut self, rhs: RenderingFlags)
fn bitor_assign(&mut self, rhs: RenderingFlags)
Performs the |= operation. Read more
sourceimpl BitXor<RenderingFlags> for RenderingFlags
impl BitXor<RenderingFlags> for RenderingFlags
type Output = RenderingFlags
type Output = RenderingFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: RenderingFlags) -> RenderingFlags
fn bitxor(self, rhs: RenderingFlags) -> RenderingFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<RenderingFlags> for RenderingFlags
impl BitXorAssign<RenderingFlags> for RenderingFlags
sourcefn bitxor_assign(&mut self, rhs: RenderingFlags)
fn bitxor_assign(&mut self, rhs: RenderingFlags)
Performs the ^= operation. Read more
sourceimpl Clone for RenderingFlags
impl Clone for RenderingFlags
sourcefn clone(&self) -> RenderingFlags
fn clone(&self) -> RenderingFlags
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 RenderingFlags
impl Debug for RenderingFlags
sourceimpl Default for RenderingFlags
impl Default for RenderingFlags
sourcefn default() -> RenderingFlags
fn default() -> RenderingFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for RenderingFlags
impl Hash for RenderingFlags
sourceimpl Not for RenderingFlags
impl Not for RenderingFlags
type Output = RenderingFlags
type Output = RenderingFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> RenderingFlags
fn not(self) -> RenderingFlags
Performs the unary ! operation. Read more
sourceimpl Ord for RenderingFlags
impl Ord for RenderingFlags
sourceimpl PartialEq<RenderingFlags> for RenderingFlags
impl PartialEq<RenderingFlags> for RenderingFlags
sourcefn eq(&self, other: &RenderingFlags) -> bool
fn eq(&self, other: &RenderingFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &RenderingFlags) -> bool
fn ne(&self, other: &RenderingFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<RenderingFlags> for RenderingFlags
impl PartialOrd<RenderingFlags> for RenderingFlags
sourcefn partial_cmp(&self, other: &RenderingFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &RenderingFlags) -> 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 RenderingFlags
impl Eq for RenderingFlags
impl StructuralEq for RenderingFlags
impl StructuralPartialEq for RenderingFlags
Auto Trait Implementations
impl RefUnwindSafe for RenderingFlags
impl Send for RenderingFlags
impl Sync for RenderingFlags
impl Unpin for RenderingFlags
impl UnwindSafe for RenderingFlags
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