Struct rls_data::config::Config [−][src]
pub 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, }
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.
Trait Implementations
impl Decodable for Config
[src]
impl Decodable for Config
fn decode<__D: Decoder>(d: &mut __D) -> Result<Config, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<Config, __D::Error>
Deserialize a value using a Decoder
.
impl Encodable for Config
[src]
impl Encodable for Config
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Debug for Config
[src]
impl Debug for Config
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Config
[src]
impl Clone for Config
fn clone(&self) -> Config
[src]
fn clone(&self) -> Config
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Config
[src]
impl Default for Config