pub struct Points<'a> {
pub coords: &'a [(f64, f64)],
pub color: Color,
}
Expand description
A shape to draw a group of points with the given color
Fields§
§coords: &'a [(f64, f64)]
§color: Color
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Points<'a>
impl<'a> Send for Points<'a>
impl<'a> Sync for Points<'a>
impl<'a> Unpin for Points<'a>
impl<'a> UnwindSafe for Points<'a>
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