pub struct Hatcher { /* private fields */ }Expand description
A context object that can fill a path with a hatching or dot pattern.
Implementations§
Source§impl Hatcher
impl Hatcher
Sourcepub fn hatch_path<Iter>(
&mut self,
it: Iter,
options: &HatchingOptions,
output: &mut dyn HatchBuilder,
)where
Iter: IntoIterator<Item = PathEvent>,
pub fn hatch_path<Iter>(
&mut self,
it: Iter,
options: &HatchingOptions,
output: &mut dyn HatchBuilder,
)where
Iter: IntoIterator<Item = PathEvent>,
Generate hatches for a path.
Sourcepub fn dot_path<Iter>(
&mut self,
it: Iter,
options: &DotOptions,
output: &mut dyn DotBuilder,
)where
Iter: IntoIterator<Item = PathEvent>,
pub fn dot_path<Iter>(
&mut self,
it: Iter,
options: &DotOptions,
output: &mut dyn DotBuilder,
)where
Iter: IntoIterator<Item = PathEvent>,
Generate dots for a path.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hatcher
impl RefUnwindSafe for Hatcher
impl Send for Hatcher
impl Sync for Hatcher
impl Unpin for Hatcher
impl UnwindSafe for Hatcher
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