pub struct LineGlyphs {Show 16 fields
pub isolated: char,
pub end_up: char,
pub end_right: char,
pub end_down: char,
pub end_left: char,
pub vertical: char,
pub horizontal: char,
pub corner_down_right: char,
pub corner_down_left: char,
pub corner_up_right: char,
pub corner_up_left: char,
pub tee_right: char,
pub tee_down: char,
pub tee_left: char,
pub tee_up: char,
pub cross: char,
}Expand description
Glyphs selected by the incident directions of one line-network cell.
Every field must be exactly one printable, one-cell-wide character. Public fields allow application-specific repertoires as well as the built-in ones.
Fields§
§isolated: charA point with no incident segment.
end_up: charA one-ended segment continuing upward.
end_right: charA one-ended segment continuing rightward.
end_down: charA one-ended segment continuing downward.
end_left: charA one-ended segment continuing leftward.
vertical: charA segment continuing upward and downward.
horizontal: charA segment continuing leftward and rightward.
corner_down_right: charA corner continuing downward and rightward.
corner_down_left: charA corner continuing downward and leftward.
corner_up_right: charA corner continuing upward and rightward.
corner_up_left: charA corner continuing upward and leftward.
tee_right: charA tee continuing upward, downward, and rightward.
tee_down: charA tee continuing leftward, rightward, and downward.
tee_left: charA tee continuing upward, downward, and leftward.
tee_up: charA tee continuing leftward, rightward, and upward.
cross: charA four-way crossing.
Implementations§
Source§impl LineGlyphs
impl LineGlyphs
Trait Implementations§
Source§impl Clone for LineGlyphs
impl Clone for LineGlyphs
Source§fn clone(&self) -> LineGlyphs
fn clone(&self) -> LineGlyphs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LineGlyphs
impl Debug for LineGlyphs
Source§impl PartialEq for LineGlyphs
impl PartialEq for LineGlyphs
Source§fn eq(&self, other: &LineGlyphs) -> bool
fn eq(&self, other: &LineGlyphs) -> bool
self and other values to be equal, and is used by ==.