Struct ash::vk::ImageAspectFlags
source · #[repr(transparent)]pub struct ImageAspectFlags(_);
Implementations
sourceimpl ImageAspectFlags
impl ImageAspectFlags
pub fn empty() -> ImageAspectFlags
pub fn all() -> ImageAspectFlags
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: ImageAspectFlags) -> bool
sourcepub fn contains(self, other: ImageAspectFlags) -> bool
pub fn contains(self, other: ImageAspectFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations
sourceimpl BitAnd<ImageAspectFlags> for ImageAspectFlags
impl BitAnd<ImageAspectFlags> for ImageAspectFlags
type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
&
operator.sourcefn bitand(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitand(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
&
operation. Read moresourceimpl BitAndAssign<ImageAspectFlags> for ImageAspectFlags
impl BitAndAssign<ImageAspectFlags> for ImageAspectFlags
sourcefn bitand_assign(&mut self, rhs: ImageAspectFlags)
fn bitand_assign(&mut self, rhs: ImageAspectFlags)
Performs the
&=
operation. Read moresourceimpl BitOr<ImageAspectFlags> for ImageAspectFlags
impl BitOr<ImageAspectFlags> for ImageAspectFlags
type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
|
operator.sourcefn bitor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
|
operation. Read moresourceimpl BitOrAssign<ImageAspectFlags> for ImageAspectFlags
impl BitOrAssign<ImageAspectFlags> for ImageAspectFlags
sourcefn bitor_assign(&mut self, rhs: ImageAspectFlags)
fn bitor_assign(&mut self, rhs: ImageAspectFlags)
Performs the
|=
operation. Read moresourceimpl BitXor<ImageAspectFlags> for ImageAspectFlags
impl BitXor<ImageAspectFlags> for ImageAspectFlags
type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
^
operator.sourcefn bitxor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitxor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
^
operation. Read moresourceimpl BitXorAssign<ImageAspectFlags> for ImageAspectFlags
impl BitXorAssign<ImageAspectFlags> for ImageAspectFlags
sourcefn bitxor_assign(&mut self, rhs: ImageAspectFlags)
fn bitxor_assign(&mut self, rhs: ImageAspectFlags)
Performs the
^=
operation. Read moresourceimpl Clone for ImageAspectFlags
impl Clone for ImageAspectFlags
sourcefn clone(&self) -> ImageAspectFlags
fn clone(&self) -> ImageAspectFlags
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 ImageAspectFlags
impl Debug for ImageAspectFlags
sourceimpl Default for ImageAspectFlags
impl Default for ImageAspectFlags
sourcefn default() -> ImageAspectFlags
fn default() -> ImageAspectFlags
Returns the “default value” for a type. Read more
sourceimpl Display for ImageAspectFlags
impl Display for ImageAspectFlags
sourceimpl Hash for ImageAspectFlags
impl Hash for ImageAspectFlags
sourceimpl Not for ImageAspectFlags
impl Not for ImageAspectFlags
type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
!
operator.sourcefn not(self) -> ImageAspectFlags
fn not(self) -> ImageAspectFlags
Performs the unary
!
operation. Read moresourceimpl Ord for ImageAspectFlags
impl Ord for ImageAspectFlags
sourcefn cmp(&self, other: &ImageAspectFlags) -> Ordering
fn cmp(&self, other: &ImageAspectFlags) -> 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<ImageAspectFlags> for ImageAspectFlags
impl PartialEq<ImageAspectFlags> for ImageAspectFlags
sourcefn eq(&self, other: &ImageAspectFlags) -> bool
fn eq(&self, other: &ImageAspectFlags) -> bool
sourceimpl PartialOrd<ImageAspectFlags> for ImageAspectFlags
impl PartialOrd<ImageAspectFlags> for ImageAspectFlags
sourcefn partial_cmp(&self, other: &ImageAspectFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageAspectFlags) -> 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<ImageAspectFlags> for ImageAspectFlags
impl Sub<ImageAspectFlags> for ImageAspectFlags
type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
-
operator.sourcefn sub(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn sub(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
-
operation. Read moresourceimpl SubAssign<ImageAspectFlags> for ImageAspectFlags
impl SubAssign<ImageAspectFlags> for ImageAspectFlags
sourcefn sub_assign(&mut self, rhs: ImageAspectFlags)
fn sub_assign(&mut self, rhs: ImageAspectFlags)
Performs the
-=
operation. Read moreimpl Copy for ImageAspectFlags
impl Eq for ImageAspectFlags
impl StructuralEq for ImageAspectFlags
impl StructuralPartialEq for ImageAspectFlags
Auto Trait Implementations
impl RefUnwindSafe for ImageAspectFlags
impl Send for ImageAspectFlags
impl Sync for ImageAspectFlags
impl Unpin for ImageAspectFlags
impl UnwindSafe for ImageAspectFlags
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