Enum sierra::ImageExtent [−][src]
pub enum ImageExtent { D1 { width: ImageSize, }, D2 { width: ImageSize, height: ImageSize, }, D3 { width: ImageSize, height: ImageSize, depth: ImageSize, }, }
Expand description
Extent of the image.
Variants
One dimensional extent.
Fields of D1
width: ImageSize
Width of the image
Two dimensional extent.
Three dimensional extent.
Fields of D3
Implementations
Convert image extent (1,2 or 3 dimensional) into 3 dimensional extent.
If image doesn’t have height
or depth
they are set to 1.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImageExtent
impl Send for ImageExtent
impl Sync for ImageExtent
impl Unpin for ImageExtent
impl UnwindSafe for ImageExtent
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more