pub struct Generator<P: AsRef<Path>> { /* private fields */ }
Expand description

The builder to use in build.rs file to generate the interface file

Implementations

Creates a new generator instance

scr_folder refers to the starting folder where it is recursively walked through to find other files

interface_file_path refers to the path of the output file. If it exists, it would be overwritten

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.