[][src]Struct grid_trait::grid3::combinate::wrapping::Grid3Wrapping

pub struct Grid3Wrapping<G> where
    G: Grid3,
    <G as Grid3>::XBound: BoundRange,
    <G as Grid3>::YBound: BoundRange,
    <G as Grid3>::ZBound: BoundRange
{ /* fields omitted */ }

Methods

impl<G> Grid3Wrapping<G> where
    G: Grid3,
    <G as Grid3>::XBound: BoundRange,
    <G as Grid3>::YBound: BoundRange,
    <G as Grid3>::ZBound: BoundRange
[src]

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

pub fn wrap_coord<I>(&self, coord: I) -> I where
    I: From<Vector3<i32>> + Into<Vector3<i32>>, 
[src]

Trait Implementations

impl<G> Grid3 for Grid3Wrapping<G> where
    G: Grid3,
    <G as Grid3>::XBound: BoundRange,
    <G as Grid3>::YBound: BoundRange,
    <G as Grid3>::ZBound: BoundRange
[src]

type Item = <G as Grid3>::Item

type XBound = RangeFull

type YBound = RangeFull

type ZBound = RangeFull

impl<G> Grid3Get for Grid3Wrapping<G> where
    G: Grid3 + Grid3Get,
    <G as Grid3>::XBound: BoundRange,
    <G as Grid3>::YBound: BoundRange,
    <G as Grid3>::ZBound: BoundRange
[src]

impl<G> Grid3Mut for Grid3Wrapping<G> where
    G: Grid3 + Grid3Mut,
    <G as Grid3>::XBound: BoundRange,
    <G as Grid3>::YBound: BoundRange,
    <G as Grid3>::ZBound: BoundRange
[src]

impl<G> Grid3Ref for Grid3Wrapping<G> where
    G: Grid3 + Grid3Ref,
    <G as Grid3>::XBound: BoundRange,
    <G as Grid3>::YBound: BoundRange,
    <G as Grid3>::ZBound: BoundRange
[src]

impl<G> Grid3Set for Grid3Wrapping<G> where
    G: Grid3 + Grid3Set,
    <G as Grid3>::XBound: BoundRange,
    <G as Grid3>::YBound: BoundRange,
    <G as Grid3>::ZBound: BoundRange
[src]

Auto Trait Implementations

impl<G> RefUnwindSafe for Grid3Wrapping<G> where
    G: RefUnwindSafe

impl<G> Send for Grid3Wrapping<G> where
    G: Send

impl<G> Sync for Grid3Wrapping<G> where
    G: Sync

impl<G> Unpin for Grid3Wrapping<G> where
    G: Unpin

impl<G> UnwindSafe for Grid3Wrapping<G> where
    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> Grid3Mut for T where
    T: Deref + DerefMut,
    <T as Deref>::Target: Grid3Mut
[src]

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

impl<T> Grid3Set for T where
    T: Deref + DerefMut,
    <T as Deref>::Target: Grid3Set
[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.