pub struct DisplacementMap {
    pub(crate) input1: Input,
    pub(crate) input2: Input,
    pub(crate) scale: f32,
    pub(crate) x_channel_selector: ColorChannel,
    pub(crate) y_channel_selector: ColorChannel,
}Expand description
A displacement map filter primitive.
feDisplacementMap element in the SVG.
Fields§
§input1: Input§input2: Input§scale: f32§x_channel_selector: ColorChannel§y_channel_selector: ColorChannelImplementations§
Source§impl DisplacementMap
 
impl DisplacementMap
Sourcepub fn input2(&self) -> &Input
 
pub fn input2(&self) -> &Input
Identifies input for the given filter primitive.
in2 in the SVG.
Sourcepub fn x_channel_selector(&self) -> ColorChannel
 
pub fn x_channel_selector(&self) -> ColorChannel
Indicates a source color channel along the X-axis.
xChannelSelector in the SVG.
Sourcepub fn y_channel_selector(&self) -> ColorChannel
 
pub fn y_channel_selector(&self) -> ColorChannel
Indicates a source color channel along the Y-axis.
yChannelSelector in the SVG.
Trait Implementations§
Source§impl Clone for DisplacementMap
 
impl Clone for DisplacementMap
Source§fn clone(&self) -> DisplacementMap
 
fn clone(&self) -> DisplacementMap
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 DisplacementMap
impl RefUnwindSafe for DisplacementMap
impl Send for DisplacementMap
impl Sync for DisplacementMap
impl Unpin for DisplacementMap
impl UnwindSafe for DisplacementMap
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