Skip to main content

write_bwm_ascii

Function write_bwm_ascii 

Source
pub fn write_bwm_ascii<W: Write>(
    writer: &mut W,
    bwm: &Bwm,
) -> Result<(), BwmAsciiError>
Expand description

Writes a BWM to an ASCII writer.

ยงErrors

BwmAsciiError::Io when the writer fails. The ASCII grammar has no widths to overflow and the adjacency columns are written as -1 placeholders, so nothing in the walkmesh itself can be refused here.