#[repr(C)]pub enum FilterOp {
}
Expand description
CSS filter.
Variants§
Identity
Filter that does no transformation of the colors, needed for debug purposes only.
Blur(f32, f32)
Brightness(f32)
Contrast(f32)
Grayscale(f32)
HueRotate(f32)
Invert(f32)
Opacity(PropertyBinding<f32>, f32)
Saturate(f32)
Sepia(f32)
DropShadow(Shadow)
ColorMatrix([f32; 20])
SrgbToLinear
LinearToSrgb
ComponentTransfer
Flood(ColorF)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FilterOp
impl<'de> Deserialize<'de> for FilterOp
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
impl Copy for FilterOp
impl StructuralPartialEq for FilterOp
Auto Trait Implementations§
impl Freeze for FilterOp
impl RefUnwindSafe for FilterOp
impl Send for FilterOp
impl Sync for FilterOp
impl Unpin for FilterOp
impl UnwindSafe for FilterOp
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