pub enum Symbol {
DirectionUp,
DirectionRight,
DirectionDown,
DirectionLeft,
Diamond,
Hexagon,
Circle,
}Expand description
A symbol a cell can name: a direction an arrow points in, or a shape a terminal stands on.
Closed rather than a name, so that a symbol the core does not know cannot arrive and be
rendered as a space: a misspelled style and a missing pair answer alike, and this is the half
that must not. Self::ALL is the order a sheet prints the vocabulary in.
Variants§
DirectionUp
An arrow pointing up.
DirectionRight
An arrow pointing right.
DirectionDown
An arrow pointing down.
DirectionLeft
An arrow pointing left.
Diamond
A diamond, which points nowhere.
Hexagon
A hexagon, which points nowhere.
Circle
A circle, which points nowhere.
Implementations§
Trait Implementations§
impl Copy for Symbol
impl Eq for Symbol
impl StructuralPartialEq for Symbol
Auto Trait Implementations§
impl Forget for Symbol
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnsafeUnpin for Symbol
impl UnwindSafe for Symbol
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more