[][src]Struct cbindgen::ParseExpandConfig

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 Clone for ParseExpandConfig[src]

impl Default for ParseExpandConfig[src]

impl Debug for ParseExpandConfig[src]

impl<'de> Deserialize<'de> for ParseExpandConfig where
    ParseExpandConfig: Default
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]