pub struct PolyPlainAdaptor<'a> { /* private fields */ }Expand description
Adaptor that wraps a flat slice of coordinates [x0, y0, x1, y1, ...]
as a VertexSource.
Port of C++ agg::poly_plain_adaptor<double>.
Implementations§
Trait Implementations§
Source§impl VertexSource for PolyPlainAdaptor<'_>
impl VertexSource for PolyPlainAdaptor<'_>
Auto Trait Implementations§
impl<'a> Freeze for PolyPlainAdaptor<'a>
impl<'a> RefUnwindSafe for PolyPlainAdaptor<'a>
impl<'a> Send for PolyPlainAdaptor<'a>
impl<'a> Sync for PolyPlainAdaptor<'a>
impl<'a> Unpin for PolyPlainAdaptor<'a>
impl<'a> UnwindSafe for PolyPlainAdaptor<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more