[][src]Struct lyon_path::builder::SvgPathBuilder

pub struct SvgPathBuilder<Builder: PathBuilder> { /* fields omitted */ }

Implements the Svg building interface on top of a PathBuilder.

Methods

impl<Builder: PathBuilder> SvgPathBuilder<Builder>[src]

pub fn new(builder: Builder) -> SvgPathBuilder<Builder>[src]

Trait Implementations

impl<Builder: PathBuilder> FlatPathBuilder for SvgPathBuilder<Builder>[src]

type PathType = Builder::PathType

The type of object that is created by this builder.

fn flat_event(&mut self, event: FlattenedEvent)[src]

fn flattened(self, tolerance: f32) -> FlatteningBuilder<Self>[src]

Returns a builder that approximates all curves with sequences of line segments.

impl<Builder: PathBuilder> PathBuilder for SvgPathBuilder<Builder>[src]

fn path_event(&mut self, event: PathEvent)[src]

fn with_svg(self) -> SvgPathBuilder<Self>[src]

Returns a builder that support svg commands.

impl<Builder: PathBuilder> SvgBuilder for SvgPathBuilder<Builder>[src]

fn svg_event(&mut self, event: SvgEvent)[src]

Auto Trait Implementations

impl<Builder> Unpin for SvgPathBuilder<Builder> where
    Builder: Unpin

impl<Builder> Sync for SvgPathBuilder<Builder> where
    Builder: Sync

impl<Builder> Send for SvgPathBuilder<Builder> where
    Builder: Send

impl<Builder> UnwindSafe for SvgPathBuilder<Builder> where
    Builder: UnwindSafe

impl<Builder> RefUnwindSafe for SvgPathBuilder<Builder> where
    Builder: RefUnwindSafe

Blanket Implementations

impl<Builder> PolygonBuilder for Builder where
    Builder: FlatPathBuilder
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]