Skip to main content

author_dlg

Function author_dlg 

Source
pub fn author_dlg<W: Write>(writer: &mut W, dlg: &Dlg) -> Result<(), DlgError>
Expand description

Authors the DLG file the typed view describes, into a writer.

ยงErrors

DlgError::Gff when the writer fails or a value will not encode. The typed view fixes the file type, so UnsupportedFileType cannot arise on this side.