pub struct ViewSketch<S: Scalar> {
pub name: String,
pub plane: CoordinateSystem<S>,
pub regions: Vec<Vec<Vec<Vector2<S>>>>,
pub curves: Vec<ViewCurve<S>>,
pub points: Vec<ViewSketchPoint<S>>,
}Expand description
A sketch of the part, as drawn: its plane, its closed regions (each an
outer loop and its holes), its curves and its points, in the plane’s
u/v coordinates.
Fields§
§name: String§plane: CoordinateSystem<S>§regions: Vec<Vec<Vec<Vector2<S>>>>§curves: Vec<ViewCurve<S>>§points: Vec<ViewSketchPoint<S>>Trait Implementations§
Source§impl<S: Clone + Scalar> Clone for ViewSketch<S>
impl<S: Clone + Scalar> Clone for ViewSketch<S>
Source§fn clone(&self) -> ViewSketch<S>
fn clone(&self) -> ViewSketch<S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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<S> Freeze for ViewSketch<S>where
S: Freeze,
impl<S> RefUnwindSafe for ViewSketch<S>where
S: RefUnwindSafe,
impl<S> Send for ViewSketch<S>
impl<S> Sync for ViewSketch<S>
impl<S> Unpin for ViewSketch<S>where
S: Unpin,
impl<S> UnsafeUnpin for ViewSketch<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ViewSketch<S>where
S: UnwindSafe,
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