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