Struct lyon_path::IdPolygon [−][src]
pub struct IdPolygon<'l> {
pub points: &'l [EndpointId],
pub closed: bool,
}
Expand description
A view over a sequence of endpoint IDs forming a polygon.
Fields
points: &'l [EndpointId]
closed: bool
Implementations
pub fn iter(&self) -> IdPolygonIter<'l>ⓘNotable traits for IdPolygonIter<'l>impl<'l> Iterator for IdPolygonIter<'l> type Item = IdEvent;
Notable traits for IdPolygonIter<'l>
impl<'l> Iterator for IdPolygonIter<'l> type Item = IdEvent;
Trait Implementations
Auto Trait Implementations
impl<'l> RefUnwindSafe for IdPolygon<'l>
impl<'l> UnwindSafe for IdPolygon<'l>
Blanket Implementations
Mutably borrows from an owned value. Read more