Struct screen_13::prelude::vk::ImageAspectFlags
source · pub struct ImageAspectFlags(/* private fields */);
Expand description
Implementations§
source§impl ImageAspectFlags
impl ImageAspectFlags
pub const fn empty() -> ImageAspectFlags
pub const fn from_raw(x: u32) -> ImageAspectFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: ImageAspectFlags) -> bool
sourcepub const fn contains(self, other: ImageAspectFlags) -> bool
pub const fn contains(self, other: ImageAspectFlags) -> bool
Returns whether other
is a subset of self
source§impl ImageAspectFlags
impl ImageAspectFlags
pub const COLOR: ImageAspectFlags = _
pub const DEPTH: ImageAspectFlags = _
pub const STENCIL: ImageAspectFlags = _
pub const METADATA: ImageAspectFlags = _
source§impl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const PLANE_0_KHR: ImageAspectFlags = Self::PLANE_0
pub const PLANE_1_KHR: ImageAspectFlags = Self::PLANE_1
pub const PLANE_2_KHR: ImageAspectFlags = Self::PLANE_2
source§impl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_EXT_image_drm_format_modifier’
pub const MEMORY_PLANE_0_EXT: ImageAspectFlags = _
pub const MEMORY_PLANE_1_EXT: ImageAspectFlags = _
pub const MEMORY_PLANE_2_EXT: ImageAspectFlags = _
pub const MEMORY_PLANE_3_EXT: ImageAspectFlags = _
source§impl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_KHR_maintenance4’
pub const NONE_KHR: ImageAspectFlags = Self::NONE
source§impl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_VERSION_1_1’
pub const PLANE_0: ImageAspectFlags = _
pub const PLANE_1: ImageAspectFlags = _
pub const PLANE_2: ImageAspectFlags = _
source§impl ImageAspectFlags
impl ImageAspectFlags
Generated from ‘VK_VERSION_1_3’
pub const NONE: ImageAspectFlags = _
Trait Implementations§
source§impl BitAnd for ImageAspectFlags
impl BitAnd for ImageAspectFlags
§type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitand(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for ImageAspectFlags
impl BitAndAssign for ImageAspectFlags
source§fn bitand_assign(&mut self, rhs: ImageAspectFlags)
fn bitand_assign(&mut self, rhs: ImageAspectFlags)
Performs the
&=
operation. Read moresource§impl BitOr for ImageAspectFlags
impl BitOr for ImageAspectFlags
§type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for ImageAspectFlags
impl BitOrAssign for ImageAspectFlags
source§fn bitor_assign(&mut self, rhs: ImageAspectFlags)
fn bitor_assign(&mut self, rhs: ImageAspectFlags)
Performs the
|=
operation. Read moresource§impl BitXor for ImageAspectFlags
impl BitXor for ImageAspectFlags
§type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
fn bitxor(self, rhs: ImageAspectFlags) -> ImageAspectFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for ImageAspectFlags
impl BitXorAssign for ImageAspectFlags
source§fn bitxor_assign(&mut self, rhs: ImageAspectFlags)
fn bitxor_assign(&mut self, rhs: ImageAspectFlags)
Performs the
^=
operation. Read moresource§impl Clone for ImageAspectFlags
impl Clone for ImageAspectFlags
source§fn clone(&self) -> ImageAspectFlags
fn clone(&self) -> ImageAspectFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageAspectFlags
impl Debug for ImageAspectFlags
source§impl Default for ImageAspectFlags
impl Default for ImageAspectFlags
source§fn default() -> ImageAspectFlags
fn default() -> ImageAspectFlags
Returns the “default value” for a type. Read more
source§impl Hash for ImageAspectFlags
impl Hash for ImageAspectFlags
source§impl Not for ImageAspectFlags
impl Not for ImageAspectFlags
§type Output = ImageAspectFlags
type Output = ImageAspectFlags
The resulting type after applying the
!
operator.source§fn not(self) -> ImageAspectFlags
fn not(self) -> ImageAspectFlags
Performs the unary
!
operation. Read moresource§impl Ord for ImageAspectFlags
impl Ord for ImageAspectFlags
source§fn cmp(&self, other: &ImageAspectFlags) -> Ordering
fn cmp(&self, other: &ImageAspectFlags) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq for ImageAspectFlags
impl PartialEq for ImageAspectFlags
source§fn eq(&self, other: &ImageAspectFlags) -> bool
fn eq(&self, other: &ImageAspectFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageAspectFlags
impl PartialOrd for ImageAspectFlags
source§fn partial_cmp(&self, other: &ImageAspectFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageAspectFlags) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for ImageAspectFlags
impl Eq 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.