Skip to main content

export_to

Function export_to 

Source
pub fn export_to<T: CSharp>(cfg: &Config, path: impl AsRef<Path>) -> Result<()>
Expand description

Writes the C# definition of T to path.

Creates parent directories if they do not exist.

ยงErrors

Returns an I/O error if the file cannot be written.