#[repr(u32)]pub enum TiImageDimension {
D1D = 0,
D2D = 1,
D3D = 2,
D1DArray = 3,
D2DArray = 4,
Cube = 5,
}Expand description
Enumeration TiImageDimension
Dimensions of an image allocation.
Variants§
D1D = 0
The image is 1-dimensional.
D2D = 1
The image is 2-dimensional.
D3D = 2
The image is 3-dimensional.
D1DArray = 3
The image is 1-dimensional and it has one or more layers.
D2DArray = 4
The image is 2-dimensional and it has one or more layers.
Cube = 5
Trait Implementations§
Source§impl Clone for TiImageDimension
impl Clone for TiImageDimension
Source§fn clone(&self) -> TiImageDimension
fn clone(&self) -> TiImageDimension
Returns a duplicate 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 TiImageDimension
impl Debug for TiImageDimension
Source§impl Hash for TiImageDimension
impl Hash for TiImageDimension
Source§impl Ord for TiImageDimension
impl Ord for TiImageDimension
Source§fn cmp(&self, other: &TiImageDimension) -> Ordering
fn cmp(&self, other: &TiImageDimension) -> 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 TiImageDimension
impl PartialEq for TiImageDimension
Source§impl PartialOrd for TiImageDimension
impl PartialOrd for TiImageDimension
impl Copy for TiImageDimension
impl Eq for TiImageDimension
impl StructuralPartialEq for TiImageDimension
Auto Trait Implementations§
impl Freeze for TiImageDimension
impl RefUnwindSafe for TiImageDimension
impl Send for TiImageDimension
impl Sync for TiImageDimension
impl Unpin for TiImageDimension
impl UnwindSafe for TiImageDimension
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