pub fn write_lyt<W: Write>(writer: &mut W, lyt: &Lyt) -> Result<(), LytError>
Writes a LYT layout to a writer.