[][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


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

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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