pub struct Triangle {
pub corners: [Vec2D; 3],
pub fill_char: ColChar,
}
Fields§
§corners: [Vec2D; 3]
The 3 corners of the triangle
fill_char: ColChar
The ColChar
used to fill the triangle
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Triangle
impl RefUnwindSafe for Triangle
impl Send for Triangle
impl Sync for Triangle
impl Unpin for Triangle
impl UnwindSafe for Triangle
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