pub struct SharpYuvOptions<'a> {
pub yuv_matrix: &'a SharpYuvConversionMatrix,
pub transfer_type: SharpYuvTransferFunctionType,
}Expand description
Conversion options: the matrix, which the caller owns, and the transfer function.
Fields§
§yuv_matrix: &'a SharpYuvConversionMatrixThe RGB to YUV matrix; it cannot be absent.
transfer_type: SharpYuvTransferFunctionTypeThe transfer function of the RGB samples.
Trait Implementations§
Source§impl<'a> Clone for SharpYuvOptions<'a>
impl<'a> Clone for SharpYuvOptions<'a>
impl<'a> Copy for SharpYuvOptions<'a>
Source§impl<'a> Debug for SharpYuvOptions<'a>
impl<'a> Debug for SharpYuvOptions<'a>
impl<'a> Eq for SharpYuvOptions<'a>
Source§impl<'a> PartialEq for SharpYuvOptions<'a>
impl<'a> PartialEq for SharpYuvOptions<'a>
impl<'a> StructuralPartialEq for SharpYuvOptions<'a>
Auto Trait Implementations§
impl<'a> Forget for SharpYuvOptions<'a>
impl<'a> Freeze for SharpYuvOptions<'a>
impl<'a> Move for SharpYuvOptions<'a>
impl<'a> RefUnwindSafe for SharpYuvOptions<'a>
impl<'a> Send for SharpYuvOptions<'a>
impl<'a> Sync for SharpYuvOptions<'a>
impl<'a> Unpin for SharpYuvOptions<'a>
impl<'a> UnsafeUnpin for SharpYuvOptions<'a>
impl<'a> UnwindSafe for SharpYuvOptions<'a>
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