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
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 moresourceimpl 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 ParseExpandConfigwhere
ParseExpandConfig: Default,
impl<'de> Deserialize<'de> for ParseExpandConfigwhere
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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