Enum ColorRange
#[repr(u8)]pub enum ColorRange {
Full = 0,
Limited = 1,
}Expand description
Official color range metadata values.
Variants§
Implementations§
§impl ColorRange
impl ColorRange
pub fn parse(value: &str) -> Result<ColorRange, PixelFlowError>
pub fn parse(value: &str) -> Result<ColorRange, PixelFlowError>
Parses canonical range metadata string.
Trait Implementations§
§impl Clone for ColorRange
impl Clone for ColorRange
§fn clone(&self) -> ColorRange
fn clone(&self) -> ColorRange
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 more§impl Debug for ColorRange
impl Debug for ColorRange
§impl PartialEq for ColorRange
impl PartialEq for ColorRange
impl Copy for ColorRange
impl Eq for ColorRange
impl StructuralPartialEq for ColorRange
Auto Trait Implementations§
impl Freeze for ColorRange
impl RefUnwindSafe for ColorRange
impl Send for ColorRange
impl Sync for ColorRange
impl Unpin for ColorRange
impl UnsafeUnpin for ColorRange
impl UnwindSafe for ColorRange
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