pub struct YuvColorInfo {
pub transfer: ColorTransfer,
pub primaries: ColorPrimaries,
pub space: ColorSpace,
pub full_range: bool,
}Fields§
§transfer: ColorTransfer§primaries: ColorPrimaries§space: ColorSpace§full_range: boolIf the image uses either full or standard range
- full range (0 - 255)
- standard range Y (16 - 235), U & V (16 - 240)
Trait Implementations§
Source§impl Clone for YuvColorInfo
impl Clone for YuvColorInfo
Source§fn clone(&self) -> YuvColorInfo
fn clone(&self) -> YuvColorInfo
Returns a copy 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 moreSource§impl Debug for YuvColorInfo
impl Debug for YuvColorInfo
Source§impl From<YuvColorInfo> for ColorInfo
impl From<YuvColorInfo> for ColorInfo
Source§fn from(value: YuvColorInfo) -> Self
fn from(value: YuvColorInfo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for YuvColorInfo
impl PartialEq for YuvColorInfo
impl Copy for YuvColorInfo
impl Eq for YuvColorInfo
impl StructuralPartialEq for YuvColorInfo
Auto Trait Implementations§
impl Freeze for YuvColorInfo
impl RefUnwindSafe for YuvColorInfo
impl Send for YuvColorInfo
impl Sync for YuvColorInfo
impl Unpin for YuvColorInfo
impl UnwindSafe for YuvColorInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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