Struct ash::vk::types::FormatFeatureFlags
[−]
[src]
#[repr(C)]pub struct FormatFeatureFlags { /* fields omitted */ }
Methods
impl FormatFeatureFlags
[src]
pub fn empty() -> FormatFeatureFlags
[src]
pub fn all() -> FormatFeatureFlags
[src]
pub fn flags(self) -> Flags
[src]
pub fn from_flags(flags: Flags) -> Option<FormatFeatureFlags>
[src]
pub fn from_flags_truncate(flags: Flags) -> FormatFeatureFlags
[src]
pub fn is_empty(self) -> bool
[src]
pub fn is_all(self) -> bool
[src]
pub fn intersects(self, other: FormatFeatureFlags) -> bool
[src]
pub fn subset(self, other: FormatFeatureFlags) -> bool
[src]
Returns true of other
is a subset of self
Trait Implementations
impl Clone for FormatFeatureFlags
[src]
fn clone(&self) -> FormatFeatureFlags
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for FormatFeatureFlags
[src]
impl PartialEq for FormatFeatureFlags
[src]
fn eq(&self, __arg_0: &FormatFeatureFlags) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FormatFeatureFlags) -> bool
[src]
This method tests for !=
.
impl Eq for FormatFeatureFlags
[src]
impl PartialOrd for FormatFeatureFlags
[src]
fn partial_cmp(&self, __arg_0: &FormatFeatureFlags) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &FormatFeatureFlags) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &FormatFeatureFlags) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &FormatFeatureFlags) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &FormatFeatureFlags) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for FormatFeatureFlags
[src]
fn cmp(&self, __arg_0: &FormatFeatureFlags) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl Hash for FormatFeatureFlags
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for FormatFeatureFlags
[src]
fn default() -> FormatFeatureFlags
[src]
Returns the "default value" for a type. Read more
impl Debug for FormatFeatureFlags
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl BitOr for FormatFeatureFlags
[src]
type Output = FormatFeatureFlags
The resulting type after applying the |
operator.
fn bitor(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
[src]
Performs the |
operation.
impl BitOrAssign for FormatFeatureFlags
[src]
fn bitor_assign(&mut self, rhs: FormatFeatureFlags)
[src]
Performs the |=
operation.
impl BitAnd for FormatFeatureFlags
[src]
type Output = FormatFeatureFlags
The resulting type after applying the &
operator.
fn bitand(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
[src]
Performs the &
operation.
impl BitAndAssign for FormatFeatureFlags
[src]
fn bitand_assign(&mut self, rhs: FormatFeatureFlags)
[src]
Performs the &=
operation.
impl BitXor for FormatFeatureFlags
[src]
type Output = FormatFeatureFlags
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
[src]
Performs the ^
operation.
impl BitXorAssign for FormatFeatureFlags
[src]
fn bitxor_assign(&mut self, rhs: FormatFeatureFlags)
[src]
Performs the ^=
operation.
impl Sub for FormatFeatureFlags
[src]
type Output = FormatFeatureFlags
The resulting type after applying the -
operator.
fn sub(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
[src]
Performs the -
operation.
impl SubAssign for FormatFeatureFlags
[src]
fn sub_assign(&mut self, rhs: FormatFeatureFlags)
[src]
Performs the -=
operation.
impl Not for FormatFeatureFlags
[src]
type Output = FormatFeatureFlags
The resulting type after applying the !
operator.
fn not(self) -> FormatFeatureFlags
[src]
Performs the unary !
operation.