pub struct VideoSignal {
pub full_range: bool,
pub description: Option<[u8; 3]>,
}Expand description
A VUI video signal type’s range flag and colour description, as coded.
Fields§
§full_range: boolvideo_full_range_flag.
description: Option<[u8; 3]>colour_primaries, transfer_characteristics and matrix_coeffs (ITU-T H.273), when
the colour description is present.
Trait Implementations§
Source§impl Clone for VideoSignal
impl Clone for VideoSignal
impl Copy for VideoSignal
Source§impl Debug for VideoSignal
impl Debug for VideoSignal
Source§impl Default for VideoSignal
impl Default for VideoSignal
impl Eq for VideoSignal
Source§impl PartialEq for VideoSignal
impl PartialEq for VideoSignal
impl StructuralPartialEq for VideoSignal
Auto Trait Implementations§
impl Forget for VideoSignal
impl Freeze for VideoSignal
impl Move for VideoSignal
impl RefUnwindSafe for VideoSignal
impl Send for VideoSignal
impl Sync for VideoSignal
impl Unpin for VideoSignal
impl UnsafeUnpin for VideoSignal
impl UnwindSafe for VideoSignal
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more