pub fn from_path(
        path : &Path,
        all_type_systems : bool,
    ) -> Result<CppModel, GeneratorError>
    {
        let krate = model::ComCrate::parse_package( path )
                .map_err( GeneratorError::CrateParseError )?;
        CppModel::from_crate( &krate, all_type_systems )
    }
/// Generates the model from files in the path.
///
/// - `path` - The path must point to a crate root containing Cargo.toml or
///            to the Cargo.toml itself.
Generates the model from files in the path.
`path` - The path must point to a crate root containing Cargo.toml or
to the Cargo.toml itself.
Generates the model from files in the path . ` path ` - The path must point to a crate root containing Cargo . toml or to the Cargo . toml itself .
pub fn from_path(
        path : &Path,
        all_type_systems : bool,
    ) -> Result<CppModel, GeneratorError>
    {
        let krate = model::ComCrate::parse_package( path )
                .map_err( GeneratorError::CrateParseError )?;
        CppModel::from_crate( &krate, all_type_systems )
    }
pub fn from_path ( path : & Path , all_type_systems : bool , ) -> Result < CppModel , GeneratorError > { let krate = model :: ComCrate :: parse_package ( path ) . map_err ( GeneratorError :: CrateParseError ) ? ; CppModel :: from_crate ( & krate , all_type_systems ) }
Generates the model from files in the path.
Generates the model from files in the path .
path
&Path
all_type_systems
bool