Struct cbindgen::ParseExpandConfig [−][src]
pub struct ParseExpandConfig { pub crates: Vec<String>, pub all_features: bool, pub default_features: bool, pub features: Option<Vec<String>>, }
Settings to apply when running rustc --pretty=expanded
Fields
crates: Vec<String>
The names of crates to parse with rustc --pretty=expanded
all_features: bool
Whether to enable all the features when expanding.
default_features: bool
Whether to use the default feature set when expanding.
features: Option<Vec<String>>
List of features to use when expanding. Combines with default_features
like in
Cargo.toml
.
Trait Implementations
impl Debug for ParseExpandConfig
[src]
impl Debug for ParseExpandConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ParseExpandConfig
[src]
impl Clone for ParseExpandConfig
fn clone(&self) -> ParseExpandConfig
[src]
fn clone(&self) -> ParseExpandConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for ParseExpandConfig
[src]
impl Default for ParseExpandConfig
fn default() -> ParseExpandConfig
[src]
fn default() -> ParseExpandConfig
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ParseExpandConfig
impl Send for ParseExpandConfig
impl Sync for ParseExpandConfig
impl Sync for ParseExpandConfig