[−][src]Enum lyon_path::FlattenedEvent
Path event enum that can only present line segments.
Useful for algorithms that approximate all curves with line segments.
Variants
MoveTo(Point)
Line(LineSegment<f32>)
Close(LineSegment<f32>)
Methods
impl FlattenedEvent
[src]
pub fn to_svg_event(self) -> SvgEvent
[src]
pub fn to_path_event(self) -> PathEvent
[src]
Trait Implementations
impl Clone for FlattenedEvent
[src]
fn clone(&self) -> FlattenedEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Into<PathEvent> for FlattenedEvent
[src]
impl Into<SvgEvent> for FlattenedEvent
[src]
impl Copy for FlattenedEvent
[src]
impl PartialEq<FlattenedEvent> for FlattenedEvent
[src]
fn eq(&self, other: &FlattenedEvent) -> bool
[src]
fn ne(&self, other: &FlattenedEvent) -> bool
[src]
impl Debug for FlattenedEvent
[src]
impl Transform for FlattenedEvent
[src]
fn transform(&self, mat: &Transform2D) -> Self
[src]
Auto Trait Implementations
impl Send for FlattenedEvent
impl Sync for FlattenedEvent
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,