pub struct Polygon<Coord> { /* private fields */ }
Expand description
An element of a filled polygon
Implementations§
Trait Implementations§
Source§impl<Coord, DB: DrawingBackend> Drawable<DB> for Polygon<Coord>
impl<Coord, DB: DrawingBackend> Drawable<DB> for Polygon<Coord>
Auto Trait Implementations§
impl<Coord> Freeze for Polygon<Coord>
impl<Coord> RefUnwindSafe for Polygon<Coord>where
Coord: RefUnwindSafe,
impl<Coord> Send for Polygon<Coord>where
Coord: Send,
impl<Coord> Sync for Polygon<Coord>where
Coord: Sync,
impl<Coord> Unpin for Polygon<Coord>where
Coord: Unpin,
impl<Coord> UnwindSafe for Polygon<Coord>where
Coord: UnwindSafe,
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
Source§impl<'b, T, DB, Coord> IntoDynElement<'b, DB, Coord> for Twhere
T: Drawable<DB> + 'b,
&'a T: for<'a> PointCollection<'a, Coord>,
Coord: Clone,
DB: DrawingBackend,
impl<'b, T, DB, Coord> IntoDynElement<'b, DB, Coord> for Twhere
T: Drawable<DB> + 'b,
&'a T: for<'a> PointCollection<'a, Coord>,
Coord: Clone,
DB: DrawingBackend,
Source§fn into_dyn(self) -> DynElement<'b, DB, Coord>
fn into_dyn(self) -> DynElement<'b, DB, Coord>
Make the conversion
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes