Struct usvg::filter::ComponentTransfer
source · [−]pub struct ComponentTransfer {
pub input: Input,
pub func_r: TransferFunction,
pub func_g: TransferFunction,
pub func_b: TransferFunction,
pub func_a: TransferFunction,
}
Expand description
A component-wise remapping filter primitive.
feComponentTransfer
element in the SVG.
Fields
input: Input
Identifies input for the given filter primitive.
in
in the SVG.
func_r: TransferFunction
feFuncR
in the SVG.
func_g: TransferFunction
feFuncG
in the SVG.
func_b: TransferFunction
feFuncB
in the SVG.
func_a: TransferFunction
feFuncA
in the SVG.
Trait Implementations
sourceimpl Clone for ComponentTransfer
impl Clone for ComponentTransfer
sourcefn clone(&self) -> ComponentTransfer
fn clone(&self) -> ComponentTransfer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for ComponentTransfer
impl Send for ComponentTransfer
impl Sync for ComponentTransfer
impl Unpin for ComponentTransfer
impl UnwindSafe for ComponentTransfer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more