Struct cbindgen::ParseExpandConfig [−][src]
pub struct ParseExpandConfig { pub crates: Vec<String>, pub all_features: bool, pub default_features: bool, pub features: Option<Vec<String>>, pub profile: Profile, }
Expand description
Settings to apply when running rustc -Zunpretty=expanded
Fields
crates: Vec<String>
The names of crates to parse with rustc -Zunpretty=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
.
profile: Profile
Controls whether or not to pass --release
when expanding.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ParseExpandConfig
impl Send for ParseExpandConfig
impl Sync for ParseExpandConfig
impl Unpin for ParseExpandConfig
impl UnwindSafe for ParseExpandConfig
Blanket Implementations
Mutably borrows from an owned value. Read more