Struct usvg_tree::filter::DisplacementMap
source · pub struct DisplacementMap {
pub input1: Input,
pub input2: Input,
pub scale: f32,
pub x_channel_selector: ColorChannel,
pub y_channel_selector: ColorChannel,
}
Expand description
A displacement map filter primitive.
feDisplacementMap
element in the SVG.
Fields§
§input1: Input
Identifies input for the given filter primitive.
in
in the SVG.
input2: Input
Identifies input for the given filter primitive.
in2
in the SVG.
scale: f32
Scale factor.
scale
in the SVG.
x_channel_selector: ColorChannel
Indicates a source color channel along the X-axis.
xChannelSelector
in the SVG.
y_channel_selector: 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 copy 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 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