pub struct ImageViewType(_);Expand description
Implementations
sourceimpl ImageViewType
impl ImageViewType
sourceimpl ImageViewType
impl ImageViewType
pub const TYPE_1D: ImageViewType = Self(0)
pub const TYPE_2D: ImageViewType = Self(1)
pub const TYPE_3D: ImageViewType = Self(2)
pub const CUBE: ImageViewType = Self(3)
pub const TYPE_1D_ARRAY: ImageViewType = Self(4)
pub const TYPE_2D_ARRAY: ImageViewType = Self(5)
pub const CUBE_ARRAY: ImageViewType = Self(6)
Trait Implementations
sourceimpl Clone for ImageViewType
impl Clone for ImageViewType
sourcefn clone(&self) -> ImageViewType
fn clone(&self) -> ImageViewType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ImageViewType
impl Debug for ImageViewType
sourceimpl Default for ImageViewType
impl Default for ImageViewType
sourcefn default() -> ImageViewType
fn default() -> ImageViewType
Returns the “default value” for a type. Read more
sourceimpl Hash for ImageViewType
impl Hash for ImageViewType
sourceimpl Ord for ImageViewType
impl Ord for ImageViewType
sourcefn cmp(&self, other: &ImageViewType) -> Ordering
fn cmp(&self, other: &ImageViewType) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ImageViewType> for ImageViewType
impl PartialEq<ImageViewType> for ImageViewType
sourcefn eq(&self, other: &ImageViewType) -> bool
fn eq(&self, other: &ImageViewType) -> bool
sourceimpl PartialOrd<ImageViewType> for ImageViewType
impl PartialOrd<ImageViewType> for ImageViewType
sourcefn partial_cmp(&self, other: &ImageViewType) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageViewType) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 StructuralEq for ImageViewType
impl StructuralPartialEq for ImageViewType
Auto Trait Implementations
impl RefUnwindSafe for ImageViewType
impl Send for ImageViewType
impl Sync for ImageViewType
impl Unpin for ImageViewType
impl UnwindSafe for ImageViewType
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