pub enum Terminal {
Glyph {
glyph: Glyph,
},
Symbol {
style: SymbolStyleName,
},
Arm,
}Expand description
What an endpoint contributes to the cell at its own position. A caller builds a variant as a literal, and reads one back by matching this public field.
Variants§
Glyph
One chosen glyph, written as a literal: decided on every side, so nothing composes into it.
Fields
Symbol
One named symbol, in a style the caller names: decided on every side, so nothing composes
into it. The symbol points against leaving, so the caller names the look and not the
direction.
Fields
§
style: SymbolStyleNameThe style the symbol is drawn in. The catalog answers the pair at render, and a pair it does not hold draws a space.
Arm
One arm, in the connector’s own stroke, on the side leaving names, leaving the other three
sides undecided.
Trait Implementations§
impl Eq for Terminal
impl StructuralPartialEq for Terminal
Auto Trait Implementations§
impl Forget for Terminal
impl Freeze for Terminal
impl RefUnwindSafe for Terminal
impl Send for Terminal
impl Sync for Terminal
impl Unpin for Terminal
impl UnsafeUnpin for Terminal
impl UnwindSafe for Terminal
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