#[repr(transparent)]pub struct SDL_ColorPrimaries(pub c_uint);Expand description
Colorspace color primaries, as described by https://www.itu.int/rec/T-REC-H.273-201612-S/en
Available Since: This enum is available since SDL 3.2.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_ColorPrimaries
impl SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_UNKNOWN: SDL_ColorPrimaries
Sourcepub const SDL_COLOR_PRIMARIES_BT709: SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_BT709: SDL_ColorPrimaries
< ITU-R BT.709-6
pub const SDL_COLOR_PRIMARIES_UNSPECIFIED: SDL_ColorPrimaries
Sourcepub const SDL_COLOR_PRIMARIES_BT470M: SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_BT470M: SDL_ColorPrimaries
< ITU-R BT.470-6 System M
Sourcepub const SDL_COLOR_PRIMARIES_BT470BG: SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_BT470BG: SDL_ColorPrimaries
< ITU-R BT.470-6 System B, G / ITU-R BT.601-7 625
Sourcepub const SDL_COLOR_PRIMARIES_BT601: SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_BT601: SDL_ColorPrimaries
< ITU-R BT.601-7 525, SMPTE 170M
Sourcepub const SDL_COLOR_PRIMARIES_SMPTE240: SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_SMPTE240: SDL_ColorPrimaries
< SMPTE 240M, functionally the same as SDL_COLOR_PRIMARIES_BT601
Sourcepub const SDL_COLOR_PRIMARIES_GENERIC_FILM: SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_GENERIC_FILM: SDL_ColorPrimaries
< Generic film (color filters using Illuminant C)
Sourcepub const SDL_COLOR_PRIMARIES_BT2020: SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_BT2020: SDL_ColorPrimaries
< ITU-R BT.2020-2 / ITU-R BT.2100-0
Sourcepub const SDL_COLOR_PRIMARIES_XYZ: SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_XYZ: SDL_ColorPrimaries
< SMPTE ST 428-1
Sourcepub const SDL_COLOR_PRIMARIES_SMPTE431: SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_SMPTE431: SDL_ColorPrimaries
< SMPTE RP 431-2
Sourcepub const SDL_COLOR_PRIMARIES_SMPTE432: SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_SMPTE432: SDL_ColorPrimaries
< SMPTE EG 432-1 / DCI P3
Sourcepub const SDL_COLOR_PRIMARIES_EBU3213: SDL_ColorPrimaries
pub const SDL_COLOR_PRIMARIES_EBU3213: SDL_ColorPrimaries
< EBU Tech. 3213-E
pub const SDL_COLOR_PRIMARIES_CUSTOM: SDL_ColorPrimaries
Trait Implementations§
Source§impl Clone for SDL_ColorPrimaries
impl Clone for SDL_ColorPrimaries
Source§fn clone(&self) -> SDL_ColorPrimaries
fn clone(&self) -> SDL_ColorPrimaries
Returns a duplicate 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 moreSource§impl Debug for SDL_ColorPrimaries
impl Debug for SDL_ColorPrimaries
Source§impl Hash for SDL_ColorPrimaries
impl Hash for SDL_ColorPrimaries
Source§impl PartialEq for SDL_ColorPrimaries
impl PartialEq for SDL_ColorPrimaries
impl Copy for SDL_ColorPrimaries
impl Eq for SDL_ColorPrimaries
impl StructuralPartialEq for SDL_ColorPrimaries
Auto Trait Implementations§
impl Freeze for SDL_ColorPrimaries
impl RefUnwindSafe for SDL_ColorPrimaries
impl Send for SDL_ColorPrimaries
impl Sync for SDL_ColorPrimaries
impl Unpin for SDL_ColorPrimaries
impl UnsafeUnpin for SDL_ColorPrimaries
impl UnwindSafe for SDL_ColorPrimaries
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