[][src]Struct lyon_path::commands::CommandsPathSlice

pub struct CommandsPathSlice<'l, Endpoint, ControlPoint> { /* fields omitted */ }

A view on a PathCommands buffer and two slices for endpoints and control points, providing similar functionalities as PathSlice.

Methods

impl<'l, Endpoint, ControlPoint> CommandsPathSlice<'l, Endpoint, ControlPoint>[src]

Important traits for IdEvents<'l>
pub fn id_events(&self) -> IdEvents[src]

Returns an iterator over the events of the path using IDs.

Important traits for Events<'l, Endpoint, ControlPoint>
pub fn events(&self) -> Events<Endpoint, ControlPoint>[src]

Returns an iterator over the events of the path using endpoint and control point references.

Trait Implementations

impl<'l, Endpoint: Clone, ControlPoint: Clone> Clone for CommandsPathSlice<'l, Endpoint, ControlPoint>[src]

impl<'l, Endpoint: Copy, ControlPoint: Copy> Copy for CommandsPathSlice<'l, Endpoint, ControlPoint>[src]

impl<'l, Endpoint, ControlPoint> Debug for CommandsPathSlice<'l, Endpoint, ControlPoint> where
    Endpoint: Debug,
    ControlPoint: Debug
[src]

impl<'l, Endpoint, ControlPoint> Index<ControlPointId> for CommandsPathSlice<'l, Endpoint, ControlPoint>[src]

type Output = ControlPoint

The returned type after indexing.

impl<'l, Endpoint, ControlPoint> Index<EndpointId> for CommandsPathSlice<'l, Endpoint, ControlPoint>[src]

type Output = Endpoint

The returned type after indexing.

impl<'l, Endpoint, ControlPoint> PositionStore for CommandsPathSlice<'l, Endpoint, ControlPoint> where
    Endpoint: Position,
    ControlPoint: Position
[src]

Auto Trait Implementations

impl<'l, Endpoint, ControlPoint> RefUnwindSafe for CommandsPathSlice<'l, Endpoint, ControlPoint> where
    ControlPoint: RefUnwindSafe,
    Endpoint: RefUnwindSafe

impl<'l, Endpoint, ControlPoint> Send for CommandsPathSlice<'l, Endpoint, ControlPoint> where
    ControlPoint: Sync,
    Endpoint: Sync

impl<'l, Endpoint, ControlPoint> Sync for CommandsPathSlice<'l, Endpoint, ControlPoint> where
    ControlPoint: Sync,
    Endpoint: Sync

impl<'l, Endpoint, ControlPoint> Unpin for CommandsPathSlice<'l, Endpoint, ControlPoint>

impl<'l, Endpoint, ControlPoint> UnwindSafe for CommandsPathSlice<'l, Endpoint, ControlPoint> where
    ControlPoint: RefUnwindSafe,
    Endpoint: RefUnwindSafe

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.