Struct rustc_save_analysis::Config[−][src]

pub(crate) struct Config {
    pub output_file: Option<String>,
    pub full_docs: bool,
    pub pub_only: bool,
    pub reachable_only: bool,
    pub distro_crate: bool,
    pub signatures: bool,
    pub borrow_data: bool,
}
Expand description

Used to configure save-analysis.

Fields

output_file: Option<String>

File to output save-analysis data to.

full_docs: bool

Include all documentation for items. (If false, only includes the summary (first paragraph) for each item).

pub_only: bool

If true only includes data for public items in a crate (useful for library crates).

reachable_only: bool

If true only includes data for items reachable from the crate root.

distro_crate: bool

True if and only if the analysed crate is part of the standard Rust distro.

signatures: bool

Include signature information.

borrow_data: bool

Include experimental borrow data.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Layout

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 32 bytes