Struct fj::SketchSegment
source · #[repr(C)]pub struct SketchSegment {
pub endpoint: [f64; 2],
pub route: SketchSegmentRoute,
}
Expand description
A segment of a sketch
Each segment starts at the previous point of the sketch.
Fields§
§endpoint: [f64; 2]
The destination point of the segment
route: SketchSegmentRoute
The path taken by the segment to get to the endpoint
Trait Implementations§
source§impl Clone for SketchSegment
impl Clone for SketchSegment
source§fn clone(&self) -> SketchSegment
fn clone(&self) -> SketchSegment
Returns a copy of the value. Read more
1.0.0 · 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 SketchSegment
impl Debug for SketchSegment
source§impl PartialEq<SketchSegment> for SketchSegment
impl PartialEq<SketchSegment> for SketchSegment
source§fn eq(&self, other: &SketchSegment) -> bool
fn eq(&self, other: &SketchSegment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.