pub struct Sketch {
pub scale: f64,
pub length: f64,
pub randomness: f64,
}Expand description
Parameters of the hand-drawn “sketch” path filter.
Fields§
§scale: f64Amplitude of the wiggle perpendicular to the line, in pixels.
length: f64Length of the wiggle along the line, in pixels.
randomness: f64Factor by which the length is randomly shrunk or expanded.
Trait Implementations§
impl Copy for Sketch
impl StructuralPartialEq for Sketch
Auto Trait Implementations§
impl Forget for Sketch
impl Freeze for Sketch
impl Move for Sketch
impl RefUnwindSafe for Sketch
impl Send for Sketch
impl Sync for Sketch
impl Unpin for Sketch
impl UnsafeUnpin for Sketch
impl UnwindSafe for Sketch
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