pub struct ColorTransform {
pub red_mult: Sfixed8P8,
pub green_mult: Sfixed8P8,
pub blue_mult: Sfixed8P8,
pub red_add: i16,
pub green_add: i16,
pub blue_add: i16,
}
Fields§
§red_mult: Sfixed8P8
§green_mult: Sfixed8P8
§blue_mult: Sfixed8P8
§red_add: i16
§green_add: i16
§blue_add: i16
Trait Implementations§
Source§impl Clone for ColorTransform
impl Clone for ColorTransform
Source§fn clone(&self) -> ColorTransform
fn clone(&self) -> ColorTransform
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 ColorTransform
impl Debug for ColorTransform
Source§impl Default for ColorTransform
impl Default for ColorTransform
Source§impl<'de> Deserialize<'de> for ColorTransform
impl<'de> Deserialize<'de> for ColorTransform
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ColorTransform
impl Hash for ColorTransform
Source§impl Ord for ColorTransform
impl Ord for ColorTransform
Source§fn cmp(&self, other: &ColorTransform) -> Ordering
fn cmp(&self, other: &ColorTransform) -> 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 ColorTransform
impl PartialEq for ColorTransform
Source§impl PartialOrd for ColorTransform
impl PartialOrd for ColorTransform
Source§impl Serialize for ColorTransform
impl Serialize for ColorTransform
impl Copy for ColorTransform
impl Eq for ColorTransform
impl StructuralPartialEq for ColorTransform
Auto Trait Implementations§
impl Freeze for ColorTransform
impl RefUnwindSafe for ColorTransform
impl Send for ColorTransform
impl Sync for ColorTransform
impl Unpin for ColorTransform
impl UnwindSafe for ColorTransform
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