Struct screen_13::prelude::vk::CommandBufferUsageFlags
source · pub struct CommandBufferUsageFlags(_);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 = Self(1)
pub const RENDER_PASS_CONTINUE: CommandBufferUsageFlags = Self(2)
sourcepub const SIMULTANEOUS_USE: CommandBufferUsageFlags = Self(4)
pub const SIMULTANEOUS_USE: CommandBufferUsageFlags = Self(4)
Command buffer may be submitted/executed more than once simultaneously
Trait Implementations§
source§impl BitAnd<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitAnd<CommandBufferUsageFlags> 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<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitAndAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
source§fn bitand_assign(&mut self, rhs: CommandBufferUsageFlags)
fn bitand_assign(&mut self, rhs: CommandBufferUsageFlags)
Performs the
&= operation. Read moresource§impl BitOr<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitOr<CommandBufferUsageFlags> 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<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitOrAssign<CommandBufferUsageFlags> for CommandBufferUsageFlags
source§fn bitor_assign(&mut self, rhs: CommandBufferUsageFlags)
fn bitor_assign(&mut self, rhs: CommandBufferUsageFlags)
Performs the
|= operation. Read moresource§impl BitXor<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitXor<CommandBufferUsageFlags> 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<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl BitXorAssign<CommandBufferUsageFlags> 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<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl PartialEq<CommandBufferUsageFlags> 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<CommandBufferUsageFlags> for CommandBufferUsageFlags
impl PartialOrd<CommandBufferUsageFlags> 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 more