Skip to main content

parse_border_type

Function parse_border_type 

Source
pub fn parse_border_type(border: &str) -> Result<BorderType, BarplotError>
Expand description

Parses a border name into a BorderType.

ยงErrors

Returns BarplotError::UnknownBorderType when border is not one of solid, corners, barplot, or ascii.