Skip to main content

Cell

Trait Cell 

Source
pub trait Cell: Clone + Default {
    // Required method
    fn is_passable(&self) -> bool;
}
Expand description

Trait for grid cells

Required Methods§

Source

fn is_passable(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§