pub struct Polygon {
pub vertices: Vec<Vec2D>,
pub fill_char: ColChar,
}
Expand description
Fields§
§vertices: Vec<Vec2D>
The vertices that make up the Polygon
fill_char: ColChar
The ColChar
used to fill the Polygon
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Polygon
impl RefUnwindSafe for Polygon
impl Send for Polygon
impl Sync for Polygon
impl Unpin for Polygon
impl UnwindSafe for Polygon
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