Struct gol_renderer::graphics::grid_2d::GraphicalRendererGrid2D[][src]

pub struct GraphicalRendererGrid2D<CI, T> where
    CI: Hash
{ /* fields omitted */ }

Implementations

impl<T, U> GraphicalRendererGrid2D<GridPoint2D<U>, T> where
    T: 'static + Send + Sync + Clone,
    U: 'static + Send + Sync + Clone + Ord + CheckedSub + ToPrimitive + FromPrimitive + Hash
[src]

pub fn new(
    board_width: usize,
    board_height: usize,
    states_storage: StatesReadOnly<GridPoint2D<U>, T>
) -> Result<Self, UnsupportedBackend>
[src]

pub fn with_title(self, title: String) -> Self[src]

pub fn with_keyboard_control(self, control: KeyboardControl) -> Self[src]

pub fn with_squares(self) -> Self[src]

pub fn with_triangles(self) -> Self[src]

Trait Implementations

impl<T, U> CellularAutomatonRenderer<T, RGBA<u16, u16>> for GraphicalRendererGrid2D<GridPoint2D<U>, T> where
    T: 'static + Send + Sync + Clone + Hash,
    U: 'static + Send + Sync + Clone + Ord + CheckedSub + ToPrimitive + FromPrimitive + Hash
[src]

Auto Trait Implementations

impl<CI, T> !RefUnwindSafe for GraphicalRendererGrid2D<CI, T>

impl<CI, T> Send for GraphicalRendererGrid2D<CI, T> where
    CI: Send + Sync,
    T: Send + Sync

impl<CI, T> Sync for GraphicalRendererGrid2D<CI, T> where
    CI: Send + Sync,
    T: Send + Sync

impl<CI, T> Unpin for GraphicalRendererGrid2D<CI, T> where
    T: Unpin

impl<CI, T> !UnwindSafe for GraphicalRendererGrid2D<CI, T>

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> Pointable for T

type Init = T

The type for initializers.

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.