[][src]Struct tui_temp_fork::widgets::canvas::Map

pub struct Map {
    pub resolution: MapResolution,
    pub color: Color,
}

Shape to draw a world map with the given resolution and color

Fields

resolution: MapResolutioncolor: Color

Trait Implementations

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

impl<'a> IntoIterator for &'a Map[src]

type Item = (f64, f64)

The type of the elements being iterated over.

type IntoIter = PointsIterator<'a>

Which kind of iterator are we turning this into?

impl Default for Map[src]

Auto Trait Implementations

impl Send for Map

impl Sync for Map

impl Unpin for Map

impl UnwindSafe for Map

impl RefUnwindSafe for Map

Blanket Implementations

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

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

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.

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

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

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