[][src]Struct lyon_path::EndpointId

pub struct EndpointId(pub u32);

ID of an endpoint point in a path.

Methods

impl EndpointId[src]

pub const INVALID: Self[src]

pub fn offset(self) -> usize[src]

pub fn to_usize(self) -> usize[src]

pub fn from_usize(val: usize) -> Self[src]

Trait Implementations

impl Clone for EndpointId[src]

impl Copy for EndpointId[src]

impl Debug for EndpointId[src]

impl Eq for EndpointId[src]

impl Hash for EndpointId[src]

impl Index<EndpointId> for Path[src]

type Output = Point

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, T> Index<EndpointId> for PolygonSlice<'l, T>[src]

type Output = T

The returned type after indexing.

impl PartialEq<EndpointId> for EndpointId[src]

impl StructuralEq for EndpointId[src]

impl StructuralPartialEq for EndpointId[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.