pub struct V2ipDecoderFormat(/* private fields */);Expand description
The colour space a decoder recovered from a codestream.
Zero is RGB and is also what a decoder with nothing to decode reports, so no
value here means “no signal” - V2ipDecoderReport::has_geometry is what
answers that.
Implementations§
Source§impl V2ipDecoderFormat
impl V2ipDecoderFormat
Sourcepub const UNNAMED: Self
pub const UNNAMED: Self
The decoder cannot name the format.
255, which is a value of its own rather than the 0xF a signal report uses for an unknown colour space. Mapping one onto the other yields a colour space the decoder never reported.
Trait Implementations§
Source§impl Clone for V2ipDecoderFormat
impl Clone for V2ipDecoderFormat
Source§fn clone(&self) -> V2ipDecoderFormat
fn clone(&self) -> V2ipDecoderFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for V2ipDecoderFormat
Source§impl Debug for V2ipDecoderFormat
impl Debug for V2ipDecoderFormat
Source§impl Default for V2ipDecoderFormat
impl Default for V2ipDecoderFormat
Source§fn default() -> V2ipDecoderFormat
fn default() -> V2ipDecoderFormat
Returns the “default value” for a type. Read more
Source§impl Display for V2ipDecoderFormat
impl Display for V2ipDecoderFormat
impl Eq for V2ipDecoderFormat
Source§impl Hash for V2ipDecoderFormat
impl Hash for V2ipDecoderFormat
Source§impl Ord for V2ipDecoderFormat
impl Ord for V2ipDecoderFormat
Source§fn cmp(&self, other: &V2ipDecoderFormat) -> Ordering
fn cmp(&self, other: &V2ipDecoderFormat) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for V2ipDecoderFormat
impl PartialEq for V2ipDecoderFormat
Source§impl PartialOrd for V2ipDecoderFormat
impl PartialOrd for V2ipDecoderFormat
impl StructuralPartialEq for V2ipDecoderFormat
Auto Trait Implementations§
impl Freeze for V2ipDecoderFormat
impl RefUnwindSafe for V2ipDecoderFormat
impl Send for V2ipDecoderFormat
impl Sync for V2ipDecoderFormat
impl Unpin for V2ipDecoderFormat
impl UnsafeUnpin for V2ipDecoderFormat
impl UnwindSafe for V2ipDecoderFormat
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