#[repr(transparent)]pub struct SDL_TransferCharacteristics(pub c_uint);Expand description
Colorspace transfer characteristics.
These are as described by https://www.itu.int/rec/T-REC-H.273-201612-S/en
§Availability
This enum is available since SDL 3.2.0.
§Known values (sdl3-sys)
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_TransferCharacteristics
impl SDL_TransferCharacteristics
pub const UNKNOWN: Self
pub const UNSPECIFIED: Self
pub const LINEAR: Self
pub const LOG100: Self
pub const LOG100_SQRT10: Self
Sourcepub const BT2020_10BIT: Self
pub const BT2020_10BIT: Self
ITU-R BT2020 for 10-bit system
Sourcepub const BT2020_12BIT: Self
pub const BT2020_12BIT: Self
ITU-R BT2020 for 12-bit system
pub const CUSTOM: Self
Trait Implementations§
Source§impl Clone for SDL_TransferCharacteristics
impl Clone for SDL_TransferCharacteristics
Source§fn clone(&self) -> SDL_TransferCharacteristics
fn clone(&self) -> SDL_TransferCharacteristics
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_TransferCharacteristics
Available on crate feature debug-impls only.
impl Debug for SDL_TransferCharacteristics
Available on crate feature
debug-impls only.Source§impl Default for SDL_TransferCharacteristics
impl Default for SDL_TransferCharacteristics
Source§fn default() -> SDL_TransferCharacteristics
fn default() -> SDL_TransferCharacteristics
Returns the “default value” for a type. Read more
Source§impl From<SDL_TransferCharacteristics> for c_uint
impl From<SDL_TransferCharacteristics> for c_uint
Source§fn from(value: SDL_TransferCharacteristics) -> Self
fn from(value: SDL_TransferCharacteristics) -> Self
Converts to this type from the input type.
Source§impl GroupMetadata for SDL_TransferCharacteristics
Available on crate feature metadata only.
impl GroupMetadata for SDL_TransferCharacteristics
Available on crate feature
metadata only.Source§const GROUP_METADATA: &'static Group
const GROUP_METADATA: &'static Group
Metadata for this group
Source§impl Hash for SDL_TransferCharacteristics
impl Hash for SDL_TransferCharacteristics
Source§impl Ord for SDL_TransferCharacteristics
impl Ord for SDL_TransferCharacteristics
Source§fn cmp(&self, other: &SDL_TransferCharacteristics) -> Ordering
fn cmp(&self, other: &SDL_TransferCharacteristics) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<u32> for SDL_TransferCharacteristics
impl PartialEq<u32> for SDL_TransferCharacteristics
Source§impl PartialOrd for SDL_TransferCharacteristics
impl PartialOrd for SDL_TransferCharacteristics
impl Copy for SDL_TransferCharacteristics
impl Eq for SDL_TransferCharacteristics
impl StructuralPartialEq for SDL_TransferCharacteristics
Auto Trait Implementations§
impl Freeze for SDL_TransferCharacteristics
impl RefUnwindSafe for SDL_TransferCharacteristics
impl Send for SDL_TransferCharacteristics
impl Sync for SDL_TransferCharacteristics
impl Unpin for SDL_TransferCharacteristics
impl UnwindSafe for SDL_TransferCharacteristics
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