Skip to main content

write_lyt

Function write_lyt 

Source
pub fn write_lyt<W: Write>(writer: &mut W, lyt: &Lyt) -> Result<(), LytError>
Expand description

Writes a LYT layout to a writer.

ยงErrors

LytError::InvalidName when a room or track name holds whitespace, which the whitespace-separated grammar cannot represent, LytError::TextEncoding when a name has no Windows-1252 form, and LytError::Io when the writer fails.