#[non_exhaustive]#[repr(i32)]pub enum ImageType {
Dim1d = 0,
Dim2d = 1,
Dim3d = 2,
}
Expand description
The basic dimensionality of an image.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Dim1d = 0
A one-dimensional image, consisting of only a width, with a height and depth of 1.
Dim2d = 1
A two-dimensional image, consisting of a width and height, with a depth of 1.
Dim3d = 2
A three-dimensional image, consisting of a width, height and depth.
Trait Implementations§
source§impl PartialEq for ImageType
impl PartialEq for ImageType
impl Copy for ImageType
impl Eq for ImageType
impl StructuralEq for ImageType
impl StructuralPartialEq for ImageType
Auto Trait Implementations§
impl RefUnwindSafe for ImageType
impl Send for ImageType
impl Sync for ImageType
impl Unpin for ImageType
impl UnwindSafe for ImageType
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