Struct ash::vk::enums::ImageViewType
source · #[repr(transparent)]pub struct ImageViewType(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
source§impl ImageViewType
impl ImageViewType
source§impl ImageViewType
impl ImageViewType
pub const TYPE_1D: Self = _
pub const TYPE_2D: Self = _
pub const TYPE_3D: Self = _
pub const CUBE: Self = _
pub const TYPE_1D_ARRAY: Self = _
pub const TYPE_2D_ARRAY: Self = _
pub const CUBE_ARRAY: Self = _
Trait Implementations§
source§impl Clone for ImageViewType
impl Clone for ImageViewType
source§fn clone(&self) -> ImageViewType
fn clone(&self) -> ImageViewType
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 ImageViewType
impl Debug for ImageViewType
source§impl Default for ImageViewType
impl Default for ImageViewType
source§fn default() -> ImageViewType
fn default() -> ImageViewType
Returns the “default value” for a type. Read more
source§impl Hash for ImageViewType
impl Hash for ImageViewType
source§impl Ord for ImageViewType
impl Ord for ImageViewType
source§fn cmp(&self, other: &ImageViewType) -> Ordering
fn cmp(&self, other: &ImageViewType) -> 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 ImageViewType
impl PartialEq for ImageViewType
source§fn eq(&self, other: &ImageViewType) -> bool
fn eq(&self, other: &ImageViewType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ImageViewType
impl PartialOrd for ImageViewType
source§fn partial_cmp(&self, other: &ImageViewType) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageViewType) -> 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 ImageViewType
impl Eq for ImageViewType
impl StructuralPartialEq for ImageViewType
Auto Trait Implementations§
impl Freeze for ImageViewType
impl RefUnwindSafe for ImageViewType
impl Send for ImageViewType
impl Sync for ImageViewType
impl Unpin for ImageViewType
impl UnwindSafe for ImageViewType
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