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

impl Clone for ParseExpandConfig[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ParseExpandConfig[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

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