[−][src]Struct lyon_path::IdPolygon
A view over a sequence of endpoint IDs forming a polygon.
Fields
points: &'l [EndpointId]
closed: bool
Implementations
impl<'l> IdPolygon<'l>
[src]
pub fn iter(&self) -> IdPolygonIter<'l>ⓘNotable traits for IdPolygonIter<'l>
impl<'l> Iterator for IdPolygonIter<'l> type Item = IdEvent;
[src]
Notable traits for IdPolygonIter<'l>
impl<'l> Iterator for IdPolygonIter<'l> type Item = IdEvent;
pub fn event(&self, id: EventId) -> IdEvent
[src]
Returns the event for a given event ID.
Auto Trait Implementations
impl<'l> RefUnwindSafe for IdPolygon<'l>
[src]
impl<'l> Send for IdPolygon<'l>
[src]
impl<'l> Sync for IdPolygon<'l>
[src]
impl<'l> Unpin for IdPolygon<'l>
[src]
impl<'l> UnwindSafe for IdPolygon<'l>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,