[go: up one dir, main page]

Enum lyon_core::events::PathEvent [] [src]

pub enum PathEvent {
    MoveTo(Point),
    LineTo(Point),
    QuadraticTo(PointPoint),
    CubicTo(PointPointPoint),
    Close,
}

Variants

MoveTo(Point)LineTo(Point)QuadraticTo(PointPoint)CubicTo(PointPointPoint)Close

Methods

impl PathEvent
[src]

fn to_svg_event(self) -> SvgEvent

fn destination(self) -> Option<Point>

Trait Implementations

impl PartialEq for PathEvent
[src]

fn eq(&self, __arg_0: &PathEvent) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &PathEvent) -> bool

This method tests for !=.

impl Debug for PathEvent
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for PathEvent
[src]

fn clone(&self) -> PathEvent

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for PathEvent
[src]