Enum openexr_sys::CEXR_PixelType
source · #[repr(u32)]pub enum CEXR_PixelType {
UINT = 0,
HALF = 1,
FLOAT = 2,
}
Expand description
Describes the datatype of an image channel.
UINT
: 32-bit unsigned integer.HALF
: 16-bit floating point (conforming to IEEE 754).FLOAT
: 32-bit floating point (conforming to IEEE 754)
Variants§
Trait Implementations§
source§impl Clone for CEXR_PixelType
impl Clone for CEXR_PixelType
source§fn clone(&self) -> CEXR_PixelType
fn clone(&self) -> CEXR_PixelType
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 CEXR_PixelType
impl Debug for CEXR_PixelType
source§impl Hash for CEXR_PixelType
impl Hash for CEXR_PixelType
source§impl PartialEq for CEXR_PixelType
impl PartialEq for CEXR_PixelType
source§fn eq(&self, other: &CEXR_PixelType) -> bool
fn eq(&self, other: &CEXR_PixelType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CEXR_PixelType
impl Eq for CEXR_PixelType
impl StructuralPartialEq for CEXR_PixelType
Auto Trait Implementations§
impl Freeze for CEXR_PixelType
impl RefUnwindSafe for CEXR_PixelType
impl Send for CEXR_PixelType
impl Sync for CEXR_PixelType
impl Unpin for CEXR_PixelType
impl UnwindSafe for CEXR_PixelType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)