pub struct TransferFunction(pub NonZeroU32);
Tuple Fields§
§0: NonZeroU32
Implementations§
Source§impl TransferFunction
impl TransferFunction
pub const Linear: Self
pub const SRGB: Self
pub const ITU: Self
pub const NTSC: Self
pub const SLOG: Self
pub const SLOG2: Self
pub const BT1886: Self
pub const HLGOETF: Self
pub const HLGEOTF: Self
pub const PQEOTF: Self
pub const PQOETF: Self
pub const DCIP3: Self
pub const PALOETF: Self
pub const PAL625EOTF: Self
pub const ST240: Self
pub const ACESCC: Self
pub const ACESCCT: Self
pub const AdobeRGB: Self
pub fn new(x: u32) -> Option<Self>
Trait Implementations§
Source§impl Clone for TransferFunction
impl Clone for TransferFunction
Source§fn clone(&self) -> TransferFunction
fn clone(&self) -> TransferFunction
Returns a copy 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 TransferFunction
impl Debug for TransferFunction
Source§impl Hash for TransferFunction
impl Hash for TransferFunction
Source§impl Ord for TransferFunction
impl Ord for TransferFunction
Source§fn cmp(&self, other: &TransferFunction) -> Ordering
fn cmp(&self, other: &TransferFunction) -> 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 for TransferFunction
impl PartialEq for TransferFunction
Source§impl PartialOrd for TransferFunction
impl PartialOrd for TransferFunction
impl Copy for TransferFunction
impl Eq for TransferFunction
impl StructuralPartialEq for TransferFunction
Auto Trait Implementations§
impl Freeze for TransferFunction
impl RefUnwindSafe for TransferFunction
impl Send for TransferFunction
impl Sync for TransferFunction
impl Unpin for TransferFunction
impl UnwindSafe for TransferFunction
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