pub enum FeColorMatrixValues {
Matrix([f32; 20]),
Saturate(f32),
HueRotate(f32),
LuminanceToAlpha,
}Expand description
Values of FeColorMatrix.
Variants§
Matrix([f32; 20])
a list of 20 matrix values.
Saturate(f32)
Saturate is a single real number value (0 to 1).
HueRotate(f32)
HueRotate is a single one real number value (degrees)
LuminanceToAlpha
LuminanceToAlpha is not applicable.
Trait Implementations§
Source§impl Clone for FeColorMatrixValues
impl Clone for FeColorMatrixValues
Source§fn clone(&self) -> FeColorMatrixValues
fn clone(&self) -> FeColorMatrixValues
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 FeColorMatrixValues
impl Debug for FeColorMatrixValues
Source§impl<'de> Deserialize<'de> for FeColorMatrixValues
impl<'de> Deserialize<'de> for FeColorMatrixValues
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 Deserialize for FeColorMatrixValues
impl Deserialize for FeColorMatrixValues
type Value = FeColorMatrixValues
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer,
Derserialize this value from given
derserializer.Source§impl From<FeColorMatrixValues> for Data
impl From<FeColorMatrixValues> for Data
Source§fn from(value: FeColorMatrixValues) -> Self
fn from(value: FeColorMatrixValues) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FeColorMatrixValues
impl PartialEq for FeColorMatrixValues
Source§impl PartialOrd for FeColorMatrixValues
impl PartialOrd for FeColorMatrixValues
Source§impl Serialize for FeColorMatrixValues
impl Serialize for FeColorMatrixValues
Source§impl Serialize for FeColorMatrixValues
impl Serialize for FeColorMatrixValues
Source§impl<'a> TryFrom<&'a Data> for &'a FeColorMatrixValues
impl<'a> TryFrom<&'a Data> for &'a FeColorMatrixValues
impl StructuralPartialEq for FeColorMatrixValues
Auto Trait Implementations§
impl Freeze for FeColorMatrixValues
impl RefUnwindSafe for FeColorMatrixValues
impl Send for FeColorMatrixValues
impl Sync for FeColorMatrixValues
impl Unpin for FeColorMatrixValues
impl UnwindSafe for FeColorMatrixValues
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