Enum mon_artist::grid::Elem
[−]
[src]
pub enum Elem { C(char), Used(char), Pad, Clear, }
An element on the Grid
.
Variants
C(char)
A character from the original input that has not yet been used in any path construction.
Used(char)
A character from the original input that was used in some path construction.
Pad
Padding inserted to make all the rows have the same length.
Clear
Marker indicating that we already removed the character that fell above this.
Methods
impl Elem
[src]
fn opt_char(&self) -> Option<char>
fn to_char(&self) -> char
fn is_line(&self) -> bool
fn is_corner(&self) -> bool
fn is_used(&self) -> bool
fn is_blank(&self) -> bool
Trait Implementations
impl PartialEq for Elem
[src]
fn eq(&self, __arg_0: &Elem) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Elem) -> bool
This method tests for !=
.
impl Eq for Elem
[src]
impl Copy for Elem
[src]
impl Clone for Elem
[src]
fn clone(&self) -> Elem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Elem
[src]
impl Hash for Elem
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.