#[repr(u8)]pub enum ChromaSiting {
Left = 0,
Center = 1,
TopLeft = 2,
Top = 3,
BottomLeft = 4,
Bottom = 5,
}Expand description
Official chroma-siting metadata values.
Variants§
Left = 0
Chroma samples sit on left edge and centered vertically.
Center = 1
Chroma samples are centered horizontally and vertically.
TopLeft = 2
Chroma samples sit on top-left corner.
Top = 3
Chroma samples are centered horizontally on top edge.
BottomLeft = 4
Chroma samples sit on bottom-left corner.
Bottom = 5
Chroma samples are centered horizontally on bottom edge.
Implementations§
Source§impl ChromaSiting
impl ChromaSiting
Trait Implementations§
Source§impl Clone for ChromaSiting
impl Clone for ChromaSiting
Source§fn clone(&self) -> ChromaSiting
fn clone(&self) -> ChromaSiting
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 moreSource§impl Debug for ChromaSiting
impl Debug for ChromaSiting
Source§impl PartialEq for ChromaSiting
impl PartialEq for ChromaSiting
Source§fn eq(&self, other: &ChromaSiting) -> bool
fn eq(&self, other: &ChromaSiting) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ChromaSiting
impl Eq for ChromaSiting
impl StructuralPartialEq for ChromaSiting
Auto Trait Implementations§
impl Freeze for ChromaSiting
impl RefUnwindSafe for ChromaSiting
impl Send for ChromaSiting
impl Sync for ChromaSiting
impl Unpin for ChromaSiting
impl UnsafeUnpin for ChromaSiting
impl UnwindSafe for ChromaSiting
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