#[repr(i32)]pub enum BitDepth {
Unknown = 0,
Uint8 = 1,
Uint10 = 2,
Uint12 = 3,
Uint14 = 4,
Uint16 = 5,
Uint32 = 6,
F16 = 7,
F32 = 8,
}Expand description
Pixel sample bit depth understood by OCIO processors.
Variants§
Implementations§
Trait Implementations§
impl Copy for BitDepth
impl Eq for BitDepth
Source§impl OcioEnumText for BitDepth
impl OcioEnumText for BitDepth
Source§fn to_ocio_string(self) -> Result<String>
fn to_ocio_string(self) -> Result<String>
Format using the native OCIO conversion.
Source§fn write_ocio_string(self, output: &mut [u8]) -> Result<usize>
fn write_ocio_string(self, output: &mut [u8]) -> Result<usize>
Write the native spelling as UTF-8 bytes, without a terminator or allocation.
Source§fn from_ocio_string(value: &CStr) -> Result<Self>
fn from_ocio_string(value: &CStr) -> Result<Self>
Parse a NUL-terminated string using the native OCIO conversion.
impl StructuralPartialEq for BitDepth
Auto Trait Implementations§
impl Forget for BitDepth
impl Freeze for BitDepth
impl Move for BitDepth
impl RefUnwindSafe for BitDepth
impl Send for BitDepth
impl Sync for BitDepth
impl Unpin for BitDepth
impl UnsafeUnpin for BitDepth
impl UnwindSafe for BitDepth
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