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