Enum lyon::path::Segment [−]
pub enum Segment { Line(LineSegment<f32>), Quadratic(QuadraticBezierSegment<f32>), Cubic(CubicBezierSegment<f32>), Arc(Arc<f32>), }
Variants
Line(LineSegment<f32>)
Quadratic(QuadraticBezierSegment<f32>)
Cubic(CubicBezierSegment<f32>)
Arc(Arc<f32>)
Trait Implementations
impl Clone for Segment
impl Clone for Segment
fn clone(&self) -> Segment
fn clone(&self) -> Segment
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Segment
impl Debug for Segment
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for Segment
impl Copy for Segment