pub struct ComponentTransfer {
    pub(crate) input: Input,
    pub(crate) func_r: TransferFunction,
    pub(crate) func_g: TransferFunction,
    pub(crate) func_b: TransferFunction,
    pub(crate) func_a: TransferFunction,
}Expand description
A component-wise remapping filter primitive.
feComponentTransfer element in the SVG.
Fields§
§input: Input§func_r: TransferFunction§func_g: TransferFunction§func_b: TransferFunction§func_a: TransferFunctionImplementations§
Source§impl ComponentTransfer
 
impl ComponentTransfer
Sourcepub fn func_r(&self) -> &TransferFunction
 
pub fn func_r(&self) -> &TransferFunction
feFuncR in the SVG.
Sourcepub fn func_g(&self) -> &TransferFunction
 
pub fn func_g(&self) -> &TransferFunction
feFuncG in the SVG.
Sourcepub fn func_b(&self) -> &TransferFunction
 
pub fn func_b(&self) -> &TransferFunction
feFuncB in the SVG.
Sourcepub fn func_a(&self) -> &TransferFunction
 
pub fn func_a(&self) -> &TransferFunction
feFuncA in the SVG.
Trait Implementations§
Source§impl Clone for ComponentTransfer
 
impl Clone for ComponentTransfer
Source§fn clone(&self) -> ComponentTransfer
 
fn clone(&self) -> ComponentTransfer
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 moreAuto Trait Implementations§
impl Freeze for ComponentTransfer
impl RefUnwindSafe for ComponentTransfer
impl Send for ComponentTransfer
impl Sync for ComponentTransfer
impl Unpin for ComponentTransfer
impl UnwindSafe for ComponentTransfer
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