pub struct Offset {
pub input: Input,
pub dx: f32,
pub dy: f32,
}Expand description
An offset filter primitive.
feOffset element in the SVG.
Fields§
§input: InputIdentifies input for the given filter primitive.
in in the SVG.
dx: f32The amount to offset the input graphic along the X-axis.
dy: f32The amount to offset the input graphic along the Y-axis.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Offset
impl RefUnwindSafe for Offset
impl Send for Offset
impl Sync for Offset
impl Unpin for Offset
impl UnwindSafe for Offset
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