pub struct ColorTransformWithAlpha {
pub red_mult: Sfixed8P8,
pub green_mult: Sfixed8P8,
pub blue_mult: Sfixed8P8,
pub alpha_mult: Sfixed8P8,
pub red_add: i16,
pub green_add: i16,
pub blue_add: i16,
pub alpha_add: i16,
}
Fields§
§red_mult: Sfixed8P8
§green_mult: Sfixed8P8
§blue_mult: Sfixed8P8
§alpha_mult: Sfixed8P8
§red_add: i16
§green_add: i16
§blue_add: i16
§alpha_add: i16
Trait Implementations§
Source§impl Clone for ColorTransformWithAlpha
impl Clone for ColorTransformWithAlpha
Source§fn clone(&self) -> ColorTransformWithAlpha
fn clone(&self) -> ColorTransformWithAlpha
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 ColorTransformWithAlpha
impl Debug for ColorTransformWithAlpha
Source§impl Default for ColorTransformWithAlpha
impl Default for ColorTransformWithAlpha
Source§impl<'de> Deserialize<'de> for ColorTransformWithAlpha
impl<'de> Deserialize<'de> for ColorTransformWithAlpha
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 ColorTransformWithAlpha
impl Hash for ColorTransformWithAlpha
Source§impl Ord for ColorTransformWithAlpha
impl Ord for ColorTransformWithAlpha
Source§fn cmp(&self, other: &ColorTransformWithAlpha) -> Ordering
fn cmp(&self, other: &ColorTransformWithAlpha) -> 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 ColorTransformWithAlpha
impl PartialEq for ColorTransformWithAlpha
Source§impl PartialOrd for ColorTransformWithAlpha
impl PartialOrd for ColorTransformWithAlpha
Source§impl Serialize for ColorTransformWithAlpha
impl Serialize for ColorTransformWithAlpha
impl Copy for ColorTransformWithAlpha
impl Eq for ColorTransformWithAlpha
impl StructuralPartialEq for ColorTransformWithAlpha
Auto Trait Implementations§
impl Freeze for ColorTransformWithAlpha
impl RefUnwindSafe for ColorTransformWithAlpha
impl Send for ColorTransformWithAlpha
impl Sync for ColorTransformWithAlpha
impl Unpin for ColorTransformWithAlpha
impl UnwindSafe for ColorTransformWithAlpha
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