[][src]Struct grid_trait::grid3::combinate::map::Grid3Map

pub struct Grid3Map<G, F, T> where
    G: Grid3,
    F: Fn(<G as Grid3>::Item) -> T, 
{ /* fields omitted */ }

Methods

impl<G, F, T> Grid3Map<G, F, T> where
    G: Grid3,
    F: Fn(<G as Grid3>::Item) -> T, 
[src]

pub fn new(inner: G, func: F) -> Self[src]

Trait Implementations

impl<G, F, T> Grid3 for Grid3Map<G, F, T> where
    G: Grid3,
    F: Fn(<G as Grid3>::Item) -> T, 
[src]

type Item = T

type XBound = <G as Grid3>::XBound

type YBound = <G as Grid3>::YBound

type ZBound = <G as Grid3>::ZBound

impl<G, F, T> Grid3Get for Grid3Map<G, F, T> where
    G: Grid3 + Grid3Get,
    F: Fn(<G as Grid3>::Item) -> T, 
[src]

impl<G, F, T> Grid3Len for Grid3Map<G, F, T> where
    G: Grid3 + Grid3Len,
    F: Fn(<G as Grid3>::Item) -> T, 
[src]

Auto Trait Implementations

impl<G, F, T> RefUnwindSafe for Grid3Map<G, F, T> where
    F: RefUnwindSafe,
    G: RefUnwindSafe

impl<G, F, T> Send for Grid3Map<G, F, T> where
    F: Send,
    G: Send

impl<G, F, T> Sync for Grid3Map<G, F, T> where
    F: Sync,
    G: Sync

impl<G, F, T> Unpin for Grid3Map<G, F, T> where
    F: Unpin,
    G: Unpin

impl<G, F, T> UnwindSafe for Grid3Map<G, F, T> where
    F: UnwindSafe,
    G: 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> Grid3 for T where
    T: Deref,
    <T as Deref>::Target: Grid3
[src]

type Item = <<T as Deref>::Target as Grid3>::Item

type XBound = <<T as Deref>::Target as Grid3>::XBound

type YBound = <<T as Deref>::Target as Grid3>::YBound

type ZBound = <<T as Deref>::Target as Grid3>::ZBound

impl<T> Grid3Get for T where
    T: Deref,
    <T as Deref>::Target: Grid3Get
[src]

impl<T> Grid3Len for T where
    T: Deref,
    <T as Deref>::Target: Grid3Len
[src]

impl<T, U> Into<U> for T where
    U: From<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.