#[repr(C)]pub struct Sketch { /* private fields */ }
Expand description
A sketch
Sketches are currently limited to a single cycle of straight lines, represented by a number of points. For example, if the points a, b, and c are provided, the edges ab, bc, and ca are assumed.
Nothing about these edges is checked right now, but algorithms might assume
that the edges are non-overlapping. If you create a Sketch
with
overlapping edges, you’re on your own.
Implementations
Trait Implementations
impl Send for Sketch
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Difference for T where
T: Clone + Into<Shape2d>,
impl<T> Difference for T where
T: Clone + Into<Shape2d>,
sourcefn difference<Other>(&self, other: &Other) -> Difference2d where
Other: Clone + Into<Shape2d>,
fn difference<Other>(&self, other: &Other) -> Difference2d where
Other: Clone + Into<Shape2d>,
Create a difference between self
and other
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more