pub struct ClutParameters {
pub entry_max_number: u8,
pub colour_component_type: u8,
pub output_bit_depth: u8,
pub reserved: u8,
pub dynamic_range_and_colour_gamut: u8,
}Expand description
CLUT parameters as defined in Table 32.
Fields§
§entry_max_number: u8Maximum number of CLUT entries (0 = 256).
colour_component_type: u8Colour component type (0 = YCbCr).
output_bit_depth: u8Output bit depth (0 = 8-bit, 1 = 10-bit).
reserved: u8Reserved bit in CLUT_parameters byte 0 (bit 0).
dynamic_range_and_colour_gamut: u8SDR/HDR dynamic range and colour gamut as per Table 34.
Implementations§
Trait Implementations§
Source§impl Clone for ClutParameters
impl Clone for ClutParameters
Source§fn clone(&self) -> ClutParameters
fn clone(&self) -> ClutParameters
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 ClutParameters
Source§impl Debug for ClutParameters
impl Debug for ClutParameters
impl Eq for ClutParameters
Source§impl PartialEq for ClutParameters
impl PartialEq for ClutParameters
Source§fn eq(&self, other: &ClutParameters) -> bool
fn eq(&self, other: &ClutParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClutParameters
impl Serialize for ClutParameters
impl StructuralPartialEq for ClutParameters
Auto Trait Implementations§
impl Freeze for ClutParameters
impl RefUnwindSafe for ClutParameters
impl Send for ClutParameters
impl Sync for ClutParameters
impl Unpin for ClutParameters
impl UnsafeUnpin for ClutParameters
impl UnwindSafe for ClutParameters
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