Struct gol_core::cell::index::GridPoint2D[][src]

pub struct GridPoint2D<T> {
    pub x: T,
    pub y: T,
}

Fields

x: Ty: T

Implementations

impl<T> GridPoint2D<T>[src]

pub fn new(x: T, y: T) -> Self[src]

Trait Implementations

impl<T> BoardNeighborManager<GridPoint2D<T>, IntoIter<GridPoint2D<T>, Global>> for NeighborMoore where
    T: PointPrimInt
[src]

impl<T> BoardNeighborManager<GridPoint2D<T>, IntoIter<GridPoint2D<T>, Global>> for NeighborMooreDonut<Shape2D> where
    T: PointPrimInt
[src]

impl<T> BoardNeighborManager<GridPoint2D<T>, IntoIter<GridPoint2D<T>, Global>> for NeighborMooreTriangle where
    T: PointPrimInt
[src]

impl<T, U> BoardNeighborManager<GridPoint2D<U>, IntoIter<GridPoint2D<U>, Global>> for NeighborsGridDonut<T> where
    T: MarginPrimInt,
    U: PointPrimInt
[src]

impl<T, U> BoardNeighborManager<GridPoint2D<U>, IntoIter<GridPoint2D<U>, Global>> for NeighborsGridSurround<T> where
    T: MarginPrimInt,
    U: PointPrimInt + TryFrom<T>, 
[src]

impl<T: Clone> Clone for GridPoint2D<T>[src]

impl<T: Debug> Debug for GridPoint2D<T>[src]

impl<'de, T> Deserialize<'de> for GridPoint2D<T> where
    T: Deserialize<'de>, 
[src]

impl<T> Eq for GridPoint2D<T> where
    T: PartialEq
[src]

impl<T, U, I> GridFactory<GridPoint2D<T>, U, I> for Grid<GridPoint2D<T>> where
    T: PrimInt + FromPrimitive + Send + Sync,
    U: PrimInt + Unsigned + ToPrimitive + Send + Sync,
    I: Iterator<Item = U>, 
[src]

impl<T> Hash for GridPoint2D<T> where
    T: Hash
[src]

impl<T> PartialEq<GridPoint2D<T>> for GridPoint2D<T> where
    T: PartialEq
[src]

impl<T> Serialize for GridPoint2D<T> where
    T: Serialize
[src]

impl<T> ToGridPointND<T> for GridPoint2D<T> where
    T: Clone
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for GridPoint2D<T> where
    T: RefUnwindSafe

impl<T> Send for GridPoint2D<T> where
    T: Send

impl<T> Sync for GridPoint2D<T> where
    T: Sync

impl<T> Unpin for GridPoint2D<T> where
    T: Unpin

impl<T> UnwindSafe for GridPoint2D<T> where
    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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.