[][src]Struct vec_rac::grid::Grid

pub struct Grid { /* fields omitted */ }

Methods

impl Grid[src]

pub fn new(width: usize, height: usize) -> Grid[src]

pub fn get(&self, x: usize, y: usize) -> Option<bool>[src]

pub fn v_get(&self, pos: Vector) -> Option<bool>[src]

pub fn get_mut(&mut self, x: usize, y: usize) -> Option<&mut bool>[src]

pub fn v_get_mut(&mut self, pos: Vector) -> Option<&mut bool>[src]

pub fn clear(&mut self)[src]

Trait Implementations

impl Clone for Grid[src]

impl Debug for Grid[src]

impl PartialEq<Grid> for Grid[src]

impl PartialOrd<Grid> for Grid[src]

impl StructuralPartialEq for Grid[src]

Auto Trait Implementations

impl RefUnwindSafe for Grid

impl Send for Grid

impl Sync for Grid

impl Unpin for Grid

impl UnwindSafe for Grid

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, 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.