[][src]Struct lyon_path::PathCommandsSlice

pub struct PathCommandsSlice<'l> { /* fields omitted */ }

A view over PathCommands.

Implementations

impl<'l> PathCommandsSlice<'l>[src]

pub fn iter(&self) -> Iter<'_>

Notable traits for Iter<'l>

impl<'l> Iterator for Iter<'l> type Item = IdEvent;
[src]

Returns an iterator over the path commands.

pub fn event(&self, id: EventId) -> IdEvent[src]

Returns the event for a given event ID.

pub fn next_event_id_in_sub_path(&self, id: EventId) -> EventId[src]

Returns the next event id within the path.

pub fn next_event_id_in_path(&self, id: EventId) -> Option<EventId>[src]

Returns the next event id within the path.

Trait Implementations

impl<'l> Clone for PathCommandsSlice<'l>[src]

impl<'l> Copy for PathCommandsSlice<'l>[src]

impl<'l> Debug for PathCommandsSlice<'l>[src]

impl<'l> Into<PathCommandsSlice<'l>> for &'l PathCommands[src]

Auto Trait Implementations

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<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.