#[non_exhaustive]pub struct ColorClaim {
pub bitstream: Option<Cicp>,
pub container: Option<Cicp>,
pub resolved: Option<Cicp>,
}Expand description
Colour claims with their provenance. The bitstream and the container may
disagree; resolved is what the adapter’s format rule chose (AV1 in
ISOBMFF: fill and agree rules). Unknown stays unknown.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bitstream: Option<Cicp>What the bitstream signals.
container: Option<Cicp>What the container signals.
resolved: Option<Cicp>The claim the adapter resolved.
Implementations§
Source§impl ColorClaim
impl ColorClaim
Trait Implementations§
Source§impl Clone for ColorClaim
impl Clone for ColorClaim
Source§fn clone(&self) -> ColorClaim
fn clone(&self) -> ColorClaim
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 ColorClaim
Source§impl Debug for ColorClaim
impl Debug for ColorClaim
Source§impl Default for ColorClaim
impl Default for ColorClaim
Source§fn default() -> ColorClaim
fn default() -> ColorClaim
Returns the “default value” for a type. Read more
impl Eq for ColorClaim
Source§impl PartialEq for ColorClaim
impl PartialEq for ColorClaim
impl StructuralPartialEq for ColorClaim
Auto Trait Implementations§
impl Freeze for ColorClaim
impl RefUnwindSafe for ColorClaim
impl Send for ColorClaim
impl Sync for ColorClaim
impl Unpin for ColorClaim
impl UnsafeUnpin for ColorClaim
impl UnwindSafe for ColorClaim
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