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: boolImplementations
sourceimpl<'l> IdPolygon<'l>
impl<'l> IdPolygon<'l>
pub fn iter(&self) -> IdPolygonIter<'l>ⓘ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> Send for IdPolygon<'l>
impl<'l> Sync for IdPolygon<'l>
impl<'l> Unpin for IdPolygon<'l>
impl<'l> UnwindSafe for IdPolygon<'l>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more