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