Struct cbindgen::ParseExpandConfig
source · pub struct ParseExpandConfig {
pub crates: Vec<String>,
pub all_features: bool,
pub default_features: bool,
pub features: Option<Vec<String>>,
}
Expand description
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§
source§impl Clone for ParseExpandConfig
impl Clone for ParseExpandConfig
source§fn clone(&self) -> ParseExpandConfig
fn clone(&self) -> ParseExpandConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParseExpandConfig
impl Debug for ParseExpandConfig
source§impl Default for ParseExpandConfig
impl Default for ParseExpandConfig
source§fn default() -> ParseExpandConfig
fn default() -> ParseExpandConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ParseExpandConfigwhere
ParseExpandConfig: Default,
impl<'de> Deserialize<'de> for ParseExpandConfigwhere
ParseExpandConfig: Default,
source§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