pub struct LayoutVertex {
pub at: Vector2,
pub name: Option<Namer>,
pub own: Option<(usize, Vector2)>,
}Expand description
A vertex of the layout.
Fields§
§at: Vector2Where it is, in the flat pattern’s coordinates.
name: Option<Namer>Its vertices are N(a), N(b) — named after an edge starting
there; None until a cut’s vertex is.
own: Option<(usize, Vector2)>A vertex of the sheet as built: its flat, and where it is in that flat’s own sheet coordinates.
Trait Implementations§
Source§impl Clone for LayoutVertex
impl Clone for LayoutVertex
Source§fn clone(&self) -> LayoutVertex
fn clone(&self) -> LayoutVertex
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 LayoutVertex
impl RefUnwindSafe for LayoutVertex
impl Send for LayoutVertex
impl Sync for LayoutVertex
impl Unpin for LayoutVertex
impl UnsafeUnpin for LayoutVertex
impl UnwindSafe for LayoutVertex
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