pub struct ViewSketch {
pub name: String,
pub target: String,
pub plane: CoordinateSystem,
pub regions: Vec<Vec<Vec<Vector2>>>,
pub curves: Vec<ViewCurve>,
pub points: Vec<ViewSketchPoint>,
}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§target: StringThe target it is, which a pick of it or its elements names.
plane: CoordinateSystem§regions: Vec<Vec<Vec<Vector2>>>§curves: Vec<ViewCurve>§points: Vec<ViewSketchPoint>Trait Implementations§
Source§impl Clone for ViewSketch
impl Clone for ViewSketch
Source§fn clone(&self) -> ViewSketch
fn clone(&self) -> ViewSketch
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 moreSource§impl Debug for ViewSketch
impl Debug for ViewSketch
Auto Trait Implementations§
impl Freeze for ViewSketch
impl RefUnwindSafe for ViewSketch
impl Send for ViewSketch
impl Sync for ViewSketch
impl Unpin for ViewSketch
impl UnsafeUnpin for ViewSketch
impl UnwindSafe for ViewSketch
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