Struct cbindgen::ParseExpandConfig
source · [−]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: boolWhether to enable all the features when expanding.
default_features: boolWhether 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: ProfileControls whether or not to pass --release when expanding.
Trait Implementations
sourceimpl Clone for ParseExpandConfig
impl Clone for ParseExpandConfig
sourcefn clone(&self) -> ParseExpandConfig
fn clone(&self) -> ParseExpandConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ParseExpandConfig
impl Debug for ParseExpandConfig
sourceimpl Default for ParseExpandConfig
impl Default for ParseExpandConfig
sourcefn default() -> ParseExpandConfig
fn default() -> ParseExpandConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ParseExpandConfig where
ParseExpandConfig: Default,
impl<'de> Deserialize<'de> for ParseExpandConfig where
ParseExpandConfig: Default,
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more