pub struct Triangle {
pub a: Point<f32>,
pub b: Point<f32>,
pub c: Point<f32>,
pub color: PaletteIdx,
pub style: Style,
}
Fields§
§a: Point<f32>
§b: Point<f32>
§c: Point<f32>
§color: PaletteIdx
§style: Style
Trait Implementations§
Auto Trait Implementations§
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