Struct ux::path::PathParser[][src]

pub struct PathParser<'a> { /* fields omitted */ }

A pull-based path data parser.

Errors

  • Most of the Error types can occur.

Notes

The library does not support implicit commands, so they will be converted to an explicit one. It mostly affects an implicit MoveTo, which will be converted, according to the spec, into explicit LineTo.

Example: M 10 20 30 40 50 60 -> M 10 20 L 30 40 L 50 60

Example

Trait Implementations

impl<'a> Clone for PathParser<'a>[src]

impl<'a> Copy for PathParser<'a>[src]

impl<'a> Debug for PathParser<'a>[src]

impl<'a> From<&'a str> for PathParser<'a>[src]

impl<'a> Iterator for PathParser<'a>[src]

type Item = Result<PathSegment, Error>

The type of the elements being iterated over.

impl<'a> PartialEq<PathParser<'a>> for PathParser<'a>[src]

impl<'a> StructuralPartialEq for PathParser<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for PathParser<'a>

impl<'a> Send for PathParser<'a>

impl<'a> Sync for PathParser<'a>

impl<'a> Unpin for PathParser<'a>

impl<'a> UnwindSafe for PathParser<'a>

Blanket Implementations

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

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

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

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

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

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,