pub struct VkCommandPoolResetFlags { /* private fields */ }Implementations§
Source§impl VkCommandPoolResetFlags
impl VkCommandPoolResetFlags
Sourcepub fn empty() -> VkCommandPoolResetFlags
pub fn empty() -> VkCommandPoolResetFlags
Returns an empty set of flags.
Sourcepub fn all() -> VkCommandPoolResetFlags
pub fn all() -> VkCommandPoolResetFlags
Returns the set containing all flags.
Sourcepub fn from_bits(bits: VkFlags) -> Option<VkCommandPoolResetFlags>
pub fn from_bits(bits: VkFlags) -> Option<VkCommandPoolResetFlags>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
Sourcepub fn from_bits_truncate(bits: VkFlags) -> VkCommandPoolResetFlags
pub fn from_bits_truncate(bits: VkFlags) -> VkCommandPoolResetFlags
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
Sourcepub fn intersects(&self, other: VkCommandPoolResetFlags) -> bool
pub fn intersects(&self, other: VkCommandPoolResetFlags) -> bool
Returns true if there are flags common to both self and other.
Sourcepub fn contains(&self, other: VkCommandPoolResetFlags) -> bool
pub fn contains(&self, other: VkCommandPoolResetFlags) -> bool
Returns true all of the flags in other are contained within self.
Sourcepub fn insert(&mut self, other: VkCommandPoolResetFlags)
pub fn insert(&mut self, other: VkCommandPoolResetFlags)
Inserts the specified flags in-place.
Sourcepub fn remove(&mut self, other: VkCommandPoolResetFlags)
pub fn remove(&mut self, other: VkCommandPoolResetFlags)
Removes the specified flags in-place.
Sourcepub fn toggle(&mut self, other: VkCommandPoolResetFlags)
pub fn toggle(&mut self, other: VkCommandPoolResetFlags)
Toggles the specified flags in-place.
Trait Implementations§
Source§impl BitAnd for VkCommandPoolResetFlags
impl BitAnd for VkCommandPoolResetFlags
Source§fn bitand(self, other: VkCommandPoolResetFlags) -> VkCommandPoolResetFlags
fn bitand(self, other: VkCommandPoolResetFlags) -> VkCommandPoolResetFlags
Returns the intersection between the two sets of flags.
Source§type Output = VkCommandPoolResetFlags
type Output = VkCommandPoolResetFlags
& operator.Source§impl BitAndAssign for VkCommandPoolResetFlags
impl BitAndAssign for VkCommandPoolResetFlags
Source§fn bitand_assign(&mut self, other: VkCommandPoolResetFlags)
fn bitand_assign(&mut self, other: VkCommandPoolResetFlags)
Disables all flags disabled in the set.
Source§impl BitOr for VkCommandPoolResetFlags
impl BitOr for VkCommandPoolResetFlags
Source§fn bitor(self, other: VkCommandPoolResetFlags) -> VkCommandPoolResetFlags
fn bitor(self, other: VkCommandPoolResetFlags) -> VkCommandPoolResetFlags
Returns the union of the two sets of flags.
Source§type Output = VkCommandPoolResetFlags
type Output = VkCommandPoolResetFlags
| operator.Source§impl BitOrAssign for VkCommandPoolResetFlags
impl BitOrAssign for VkCommandPoolResetFlags
Source§fn bitor_assign(&mut self, other: VkCommandPoolResetFlags)
fn bitor_assign(&mut self, other: VkCommandPoolResetFlags)
Adds the set of flags.
Source§impl BitXor for VkCommandPoolResetFlags
impl BitXor for VkCommandPoolResetFlags
Source§fn bitxor(self, other: VkCommandPoolResetFlags) -> VkCommandPoolResetFlags
fn bitxor(self, other: VkCommandPoolResetFlags) -> VkCommandPoolResetFlags
Returns the left flags, but with all the right flags toggled.
Source§type Output = VkCommandPoolResetFlags
type Output = VkCommandPoolResetFlags
^ operator.Source§impl BitXorAssign for VkCommandPoolResetFlags
impl BitXorAssign for VkCommandPoolResetFlags
Source§fn bitxor_assign(&mut self, other: VkCommandPoolResetFlags)
fn bitxor_assign(&mut self, other: VkCommandPoolResetFlags)
Toggles the set of flags.
Source§impl Clone for VkCommandPoolResetFlags
impl Clone for VkCommandPoolResetFlags
Source§fn clone(&self) -> VkCommandPoolResetFlags
fn clone(&self) -> VkCommandPoolResetFlags
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for VkCommandPoolResetFlags
impl Debug for VkCommandPoolResetFlags
Source§impl Extend<VkCommandPoolResetFlags> for VkCommandPoolResetFlags
impl Extend<VkCommandPoolResetFlags> for VkCommandPoolResetFlags
Source§fn extend<T: IntoIterator<Item = VkCommandPoolResetFlags>>(
&mut self,
iterator: T,
)
fn extend<T: IntoIterator<Item = VkCommandPoolResetFlags>>( &mut self, iterator: T, )
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one)Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one)Source§impl FromIterator<VkCommandPoolResetFlags> for VkCommandPoolResetFlags
impl FromIterator<VkCommandPoolResetFlags> for VkCommandPoolResetFlags
Source§fn from_iter<T: IntoIterator<Item = VkCommandPoolResetFlags>>(
iterator: T,
) -> VkCommandPoolResetFlags
fn from_iter<T: IntoIterator<Item = VkCommandPoolResetFlags>>( iterator: T, ) -> VkCommandPoolResetFlags
Source§impl Hash for VkCommandPoolResetFlags
impl Hash for VkCommandPoolResetFlags
Source§impl Not for VkCommandPoolResetFlags
impl Not for VkCommandPoolResetFlags
Source§fn not(self) -> VkCommandPoolResetFlags
fn not(self) -> VkCommandPoolResetFlags
Returns the complement of this set of flags.
Source§type Output = VkCommandPoolResetFlags
type Output = VkCommandPoolResetFlags
! operator.Source§impl Ord for VkCommandPoolResetFlags
impl Ord for VkCommandPoolResetFlags
Source§fn cmp(&self, other: &VkCommandPoolResetFlags) -> Ordering
fn cmp(&self, other: &VkCommandPoolResetFlags) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for VkCommandPoolResetFlags
impl PartialEq for VkCommandPoolResetFlags
Source§impl PartialOrd for VkCommandPoolResetFlags
impl PartialOrd for VkCommandPoolResetFlags
Source§impl Sub for VkCommandPoolResetFlags
impl Sub for VkCommandPoolResetFlags
Source§fn sub(self, other: VkCommandPoolResetFlags) -> VkCommandPoolResetFlags
fn sub(self, other: VkCommandPoolResetFlags) -> VkCommandPoolResetFlags
Returns the set difference of the two sets of flags.
Source§type Output = VkCommandPoolResetFlags
type Output = VkCommandPoolResetFlags
- operator.Source§impl SubAssign for VkCommandPoolResetFlags
impl SubAssign for VkCommandPoolResetFlags
Source§fn sub_assign(&mut self, other: VkCommandPoolResetFlags)
fn sub_assign(&mut self, other: VkCommandPoolResetFlags)
Disables all flags enabled in the set.