Struct AVLumaCoefficients
#[repr(C)]pub struct AVLumaCoefficients {
pub cr: AVRational,
pub cg: AVRational,
pub cb: AVRational,
}
Expand description
Struct containing luma coefficients to be used for RGB to YUV/YCoCg, or similar calculations.
Fields§
§cr: AVRational
§cg: AVRational
§cb: AVRational
Trait Implementations§
§impl Clone for AVLumaCoefficients
impl Clone for AVLumaCoefficients
§fn clone(&self) -> AVLumaCoefficients
fn clone(&self) -> AVLumaCoefficients
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 more§impl Debug for AVLumaCoefficients
impl Debug for AVLumaCoefficients
impl Copy for AVLumaCoefficients
Auto Trait Implementations§
impl Freeze for AVLumaCoefficients
impl RefUnwindSafe for AVLumaCoefficients
impl Send for AVLumaCoefficients
impl Sync for AVLumaCoefficients
impl Unpin for AVLumaCoefficients
impl UnwindSafe for AVLumaCoefficients
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