pub struct ColorEncodingValues {
pub bt601: Option<u64>,
pub bt709: Option<u64>,
pub bt2020: Option<u64>,
}Expand description
Driver-assigned enum integers for COLOR_ENCODING.
Fields§
§bt601: Option<u64>BT.601, if advertised.
bt709: Option<u64>BT.709, if advertised.
bt2020: Option<u64>BT.2020, if advertised. Older drivers often omit it.
Trait Implementations§
Source§impl Clone for ColorEncodingValues
impl Clone for ColorEncodingValues
impl Copy for ColorEncodingValues
Source§impl Debug for ColorEncodingValues
impl Debug for ColorEncodingValues
Source§impl Default for ColorEncodingValues
impl Default for ColorEncodingValues
impl Eq for ColorEncodingValues
Source§impl PartialEq for ColorEncodingValues
impl PartialEq for ColorEncodingValues
impl StructuralPartialEq for ColorEncodingValues
Auto Trait Implementations§
impl Freeze for ColorEncodingValues
impl RefUnwindSafe for ColorEncodingValues
impl Send for ColorEncodingValues
impl Sync for ColorEncodingValues
impl Unpin for ColorEncodingValues
impl UnsafeUnpin for ColorEncodingValues
impl UnwindSafe for ColorEncodingValues
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