pub struct ToneMapper(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl ToneMapper
impl ToneMapper
pub const LINEAR: ToneMapper
pub const REINHARDT: ToneMapper
pub const FILMIC: ToneMapper
pub const ACES: ToneMapper
pub const ACES_FITTED: ToneMapper
Trait Implementations§
Source§impl Clone for ToneMapper
impl Clone for ToneMapper
Source§fn clone(&self) -> ToneMapper
fn clone(&self) -> ToneMapper
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 ToneMapper
impl Debug for ToneMapper
Source§impl From<ToneMapper> for i64
impl From<ToneMapper> for i64
Source§fn from(v: ToneMapper) -> Self
fn from(v: ToneMapper) -> Self
Converts to this type from the input type.
Source§impl From<i64> for ToneMapper
impl From<i64> for ToneMapper
Source§impl FromVariant for ToneMapper
impl FromVariant for ToneMapper
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for ToneMapper
impl Hash for ToneMapper
Source§impl Ord for ToneMapper
impl Ord for ToneMapper
Source§fn cmp(&self, other: &ToneMapper) -> Ordering
fn cmp(&self, other: &ToneMapper) -> 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 ToneMapper
impl PartialEq for ToneMapper
Source§impl PartialOrd for ToneMapper
impl PartialOrd for ToneMapper
impl Copy for ToneMapper
impl Eq for ToneMapper
impl StructuralPartialEq for ToneMapper
Auto Trait Implementations§
impl Freeze for ToneMapper
impl RefUnwindSafe for ToneMapper
impl Send for ToneMapper
impl Sync for ToneMapper
impl Unpin for ToneMapper
impl UnwindSafe for ToneMapper
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.