#[repr(transparent)]pub struct SharpYuvMatrixType(pub u32);Expand description
A predefined conversion matrix; a C enumeration stored as its unsigned int.
Tuple Fields§
§0: u32Implementations§
Source§impl SharpYuvMatrixType
impl SharpYuvMatrixType
Sourcepub const kSharpYuvMatrixWebp: SharpYuvMatrixType
pub const kSharpYuvMatrixWebp: SharpYuvMatrixType
WebP’s matrix, similar but not identical to kSharpYuvMatrixRec601Limited.
Sourcepub const kSharpYuvMatrixRec601Limited: SharpYuvMatrixType
pub const kSharpYuvMatrixRec601Limited: SharpYuvMatrixType
Kr=0.2990f, Kb=0.1140f, 8 bits, range kSharpYuvRangeLimited.
Sourcepub const kSharpYuvMatrixRec601Full: SharpYuvMatrixType
pub const kSharpYuvMatrixRec601Full: SharpYuvMatrixType
Kr=0.2990f, Kb=0.1140f, 8 bits, range kSharpYuvRangeFull.
Sourcepub const kSharpYuvMatrixRec709Limited: SharpYuvMatrixType
pub const kSharpYuvMatrixRec709Limited: SharpYuvMatrixType
Kr=0.2126f, Kb=0.0722f, 8 bits, range kSharpYuvRangeLimited.
Sourcepub const kSharpYuvMatrixRec709Full: SharpYuvMatrixType
pub const kSharpYuvMatrixRec709Full: SharpYuvMatrixType
Kr=0.2126f, Kb=0.0722f, 8 bits, range kSharpYuvRangeFull.
Sourcepub const kSharpYuvMatrixNum: SharpYuvMatrixType
pub const kSharpYuvMatrixNum: SharpYuvMatrixType
The number of predefined matrices; not a matrix.
Trait Implementations§
Source§impl Clone for SharpYuvMatrixType
impl Clone for SharpYuvMatrixType
Source§fn clone(&self) -> SharpYuvMatrixType
fn clone(&self) -> SharpYuvMatrixType
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 moreimpl Copy for SharpYuvMatrixType
Source§impl Debug for SharpYuvMatrixType
impl Debug for SharpYuvMatrixType
impl Eq for SharpYuvMatrixType
Source§impl PartialEq for SharpYuvMatrixType
impl PartialEq for SharpYuvMatrixType
impl StructuralPartialEq for SharpYuvMatrixType
Auto Trait Implementations§
impl Forget for SharpYuvMatrixType
impl Freeze for SharpYuvMatrixType
impl Move for SharpYuvMatrixType
impl RefUnwindSafe for SharpYuvMatrixType
impl Send for SharpYuvMatrixType
impl Sync for SharpYuvMatrixType
impl Unpin for SharpYuvMatrixType
impl UnsafeUnpin for SharpYuvMatrixType
impl UnwindSafe for SharpYuvMatrixType
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