Struct tui::widgets::canvas::Points[][src]

pub struct Points<'a> {
    pub coords: &'a [(f64, f64)],
    pub color: Color,
}

A shape to draw a group of points with the given color

Fields

coords: &'a [(f64, f64)]color: Color

Trait Implementations

impl<'a> Clone for Points<'a>[src]

impl<'a> Debug for Points<'a>[src]

impl<'a> Default for Points<'a>[src]

impl<'a> Shape for Points<'a>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.