pub struct Triangle {
pub a: Point,
pub b: Point,
pub c: Point,
pub style: Style,
}
Expand description
A wrapper for draw_triangle
.
Fields§
§a: Point
§b: Point
§c: Point
§style: Style
Trait Implementations§
impl Eq for Triangle
impl StructuralPartialEq for Triangle
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