pub struct LayoutEdge {
pub curve: NurbCurve2D,
pub start: usize,
pub end: usize,
pub name: Namer,
pub home: Home,
pub own: Option<NurbCurve2D>,
pub origin: Option<String>,
}Expand description
An edge of the layout, from vertex start to vertex end.
Fields§
§curve: NurbCurve2DIn the flat pattern’s coordinates.
start: usize§end: usize§name: NamerIts edges N(a), N(b), its wall N (see crate::thicken).
home: Home§own: Option<NurbCurve2D>The curve of the sheet as built, in its flat’s own coordinates, while no cut has split it.
origin: Option<String>The key of the sheet’s edge it is, or is a piece of — a flat’s edge,
or the side s0/s1 of a bend; None for an edge a cut made.
Trait Implementations§
Source§impl Clone for LayoutEdge
impl Clone for LayoutEdge
Source§fn clone(&self) -> LayoutEdge
fn clone(&self) -> LayoutEdge
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 Freeze for LayoutEdge
impl RefUnwindSafe for LayoutEdge
impl Send for LayoutEdge
impl Sync for LayoutEdge
impl Unpin for LayoutEdge
impl UnsafeUnpin for LayoutEdge
impl UnwindSafe for LayoutEdge
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