Skip to main content

write_vis

Function write_vis 

Source
pub fn write_vis<W: Write>(writer: &mut W, vis: &Vis) -> Result<(), VisError>
Expand description

Writes a VIS graph to a writer.

ยงErrors

VisError::InvalidRoom when a room name is empty or holds whitespace, which the line-per-room grammar has no way to represent, VisError::TextEncoding when a name has no Windows-1252 form, and VisError::Io when the writer fails.