Settings to apply when parsing.
Whether to parse dependencies when generating bindings. When this is true,
each dependent crate is found using a combination of cargo metadata
and
Cargo.lock
. To further control this behavior, crates can be whitelisted or
blacklisted using include
and exclude
respectively. Additionally in cases
where crates have types to expose in bindings hidden in macros, a crate can
be marked in expand
and cargo expand
will be used to expand the macros
before parsing. A crate marked in expand
doesn't need to be added to any
whitelist.
An optional whitelist of names of crates to parse
The names of crates to not parse
expand: ParseExpandConfig
The configuration options for rustc --pretty=expanded
Whether to use a new temporary target directory when running rustc --pretty=expanded
.
This may be required for some build processes.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more