Struct ash::vk::CommandBufferResetFlags
source · #[repr(transparent)]pub struct CommandBufferResetFlags(_);
Implementations
sourceimpl CommandBufferResetFlags
impl CommandBufferResetFlags
pub fn empty() -> CommandBufferResetFlags
pub fn all() -> CommandBufferResetFlags
pub fn from_raw(x: Flags) -> Self
pub fn as_raw(self) -> Flags
pub fn is_empty(self) -> bool
pub fn is_all(self) -> bool
pub fn intersects(self, other: CommandBufferResetFlags) -> bool
sourcepub fn contains(self, other: CommandBufferResetFlags) -> bool
pub fn contains(self, other: CommandBufferResetFlags) -> bool
Returns whether other
is a subset of self
sourceimpl CommandBufferResetFlags
impl CommandBufferResetFlags
sourcepub const RELEASE_RESOURCES: Self = _
pub const RELEASE_RESOURCES: Self = _
Release resources owned by the buffer
Trait Implementations
sourceimpl BitAnd<CommandBufferResetFlags> for CommandBufferResetFlags
impl BitAnd<CommandBufferResetFlags> for CommandBufferResetFlags
type Output = CommandBufferResetFlags
type Output = CommandBufferResetFlags
The resulting type after applying the
&
operator.sourcefn bitand(self, rhs: CommandBufferResetFlags) -> CommandBufferResetFlags
fn bitand(self, rhs: CommandBufferResetFlags) -> CommandBufferResetFlags
Performs the
&
operation. Read moresourceimpl BitAndAssign<CommandBufferResetFlags> for CommandBufferResetFlags
impl BitAndAssign<CommandBufferResetFlags> for CommandBufferResetFlags
sourcefn bitand_assign(&mut self, rhs: CommandBufferResetFlags)
fn bitand_assign(&mut self, rhs: CommandBufferResetFlags)
Performs the
&=
operation. Read moresourceimpl BitOr<CommandBufferResetFlags> for CommandBufferResetFlags
impl BitOr<CommandBufferResetFlags> for CommandBufferResetFlags
type Output = CommandBufferResetFlags
type Output = CommandBufferResetFlags
The resulting type after applying the
|
operator.sourcefn bitor(self, rhs: CommandBufferResetFlags) -> CommandBufferResetFlags
fn bitor(self, rhs: CommandBufferResetFlags) -> CommandBufferResetFlags
Performs the
|
operation. Read moresourceimpl BitOrAssign<CommandBufferResetFlags> for CommandBufferResetFlags
impl BitOrAssign<CommandBufferResetFlags> for CommandBufferResetFlags
sourcefn bitor_assign(&mut self, rhs: CommandBufferResetFlags)
fn bitor_assign(&mut self, rhs: CommandBufferResetFlags)
Performs the
|=
operation. Read moresourceimpl BitXor<CommandBufferResetFlags> for CommandBufferResetFlags
impl BitXor<CommandBufferResetFlags> for CommandBufferResetFlags
type Output = CommandBufferResetFlags
type Output = CommandBufferResetFlags
The resulting type after applying the
^
operator.sourcefn bitxor(self, rhs: CommandBufferResetFlags) -> CommandBufferResetFlags
fn bitxor(self, rhs: CommandBufferResetFlags) -> CommandBufferResetFlags
Performs the
^
operation. Read moresourceimpl BitXorAssign<CommandBufferResetFlags> for CommandBufferResetFlags
impl BitXorAssign<CommandBufferResetFlags> for CommandBufferResetFlags
sourcefn bitxor_assign(&mut self, rhs: CommandBufferResetFlags)
fn bitxor_assign(&mut self, rhs: CommandBufferResetFlags)
Performs the
^=
operation. Read moresourceimpl Clone for CommandBufferResetFlags
impl Clone for CommandBufferResetFlags
sourcefn clone(&self) -> CommandBufferResetFlags
fn clone(&self) -> CommandBufferResetFlags
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 moresourceimpl Debug for CommandBufferResetFlags
impl Debug for CommandBufferResetFlags
sourceimpl Default for CommandBufferResetFlags
impl Default for CommandBufferResetFlags
sourcefn default() -> CommandBufferResetFlags
fn default() -> CommandBufferResetFlags
Returns the “default value” for a type. Read more
sourceimpl Display for CommandBufferResetFlags
impl Display for CommandBufferResetFlags
sourceimpl Hash for CommandBufferResetFlags
impl Hash for CommandBufferResetFlags
sourceimpl Not for CommandBufferResetFlags
impl Not for CommandBufferResetFlags
type Output = CommandBufferResetFlags
type Output = CommandBufferResetFlags
The resulting type after applying the
!
operator.sourcefn not(self) -> CommandBufferResetFlags
fn not(self) -> CommandBufferResetFlags
Performs the unary
!
operation. Read moresourceimpl Ord for CommandBufferResetFlags
impl Ord for CommandBufferResetFlags
sourcefn cmp(&self, other: &CommandBufferResetFlags) -> Ordering
fn cmp(&self, other: &CommandBufferResetFlags) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<CommandBufferResetFlags> for CommandBufferResetFlags
impl PartialEq<CommandBufferResetFlags> for CommandBufferResetFlags
sourcefn eq(&self, other: &CommandBufferResetFlags) -> bool
fn eq(&self, other: &CommandBufferResetFlags) -> bool
sourceimpl PartialOrd<CommandBufferResetFlags> for CommandBufferResetFlags
impl PartialOrd<CommandBufferResetFlags> for CommandBufferResetFlags
sourcefn partial_cmp(&self, other: &CommandBufferResetFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &CommandBufferResetFlags) -> Option<Ordering>
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 moresourceimpl Sub<CommandBufferResetFlags> for CommandBufferResetFlags
impl Sub<CommandBufferResetFlags> for CommandBufferResetFlags
type Output = CommandBufferResetFlags
type Output = CommandBufferResetFlags
The resulting type after applying the
-
operator.sourcefn sub(self, rhs: CommandBufferResetFlags) -> CommandBufferResetFlags
fn sub(self, rhs: CommandBufferResetFlags) -> CommandBufferResetFlags
Performs the
-
operation. Read moresourceimpl SubAssign<CommandBufferResetFlags> for CommandBufferResetFlags
impl SubAssign<CommandBufferResetFlags> for CommandBufferResetFlags
sourcefn sub_assign(&mut self, rhs: CommandBufferResetFlags)
fn sub_assign(&mut self, rhs: CommandBufferResetFlags)
Performs the
-=
operation. Read moreimpl Copy for CommandBufferResetFlags
impl Eq for CommandBufferResetFlags
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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