[][src]Struct gridly::grid::DisplayAdapter

pub struct DisplayAdapter<T, F> { /* fields omitted */ }

A wrapper around a grid, allowing it to be printed via Display. See Grid::display_with for details.

Trait Implementations

impl<T: Clone, F: Clone> Clone for DisplayAdapter<T, F>[src]

impl<T: Copy, F: Copy> Copy for DisplayAdapter<T, F>[src]

impl<T: Debug, F: Debug> Debug for DisplayAdapter<T, F>[src]

impl<T, F, R> Display for DisplayAdapter<T, F> where
    T: Grid,
    F: Fn(&T::Item) -> R,
    R: Display
[src]

Auto Trait Implementations

impl<T, F> RefUnwindSafe for DisplayAdapter<T, F> where
    F: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, F> Send for DisplayAdapter<T, F> where
    F: Send,
    T: Send

impl<T, F> Sync for DisplayAdapter<T, F> where
    F: Sync,
    T: Sync

impl<T, F> Unpin for DisplayAdapter<T, F> where
    F: Unpin,
    T: Unpin

impl<T, F> UnwindSafe for DisplayAdapter<T, F> where
    F: UnwindSafe,
    T: UnwindSafe

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> ToString for T where
    T: Display + ?Sized
[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.