#[repr(transparent)]pub struct SDL_ColorRange(pub c_uint);Expand description
Colorspace color range, as described by https://www.itu.int/rec/R-REC-BT.2100-2-201807-I/en
Available Since: This enum is available since SDL 3.2.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_ColorRange
impl SDL_ColorRange
pub const SDL_COLOR_RANGE_UNKNOWN: SDL_ColorRange
Sourcepub const SDL_COLOR_RANGE_LIMITED: SDL_ColorRange
pub const SDL_COLOR_RANGE_LIMITED: SDL_ColorRange
< Narrow range, e.g. 16-235 for 8-bit RGB and luma, and 16-240 for 8-bit chroma
Sourcepub const SDL_COLOR_RANGE_FULL: SDL_ColorRange
pub const SDL_COLOR_RANGE_FULL: SDL_ColorRange
< Full range, e.g. 0-255 for 8-bit RGB and luma, and 1-255 for 8-bit chroma
Trait Implementations§
Source§impl Clone for SDL_ColorRange
impl Clone for SDL_ColorRange
Source§fn clone(&self) -> SDL_ColorRange
fn clone(&self) -> SDL_ColorRange
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_ColorRange
impl Debug for SDL_ColorRange
Source§impl Hash for SDL_ColorRange
impl Hash for SDL_ColorRange
Source§impl PartialEq for SDL_ColorRange
impl PartialEq for SDL_ColorRange
impl Copy for SDL_ColorRange
impl Eq for SDL_ColorRange
impl StructuralPartialEq for SDL_ColorRange
Auto Trait Implementations§
impl Freeze for SDL_ColorRange
impl RefUnwindSafe for SDL_ColorRange
impl Send for SDL_ColorRange
impl Sync for SDL_ColorRange
impl Unpin for SDL_ColorRange
impl UnsafeUnpin for SDL_ColorRange
impl UnwindSafe for SDL_ColorRange
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