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,
}Expand description
Used to configure save-analysis.
Fields§
§output_file: Option<String>File to output save-analysis data to.
full_docs: boolInclude all documentation for items. (If false, only includes the
summary (first paragraph) for each item).
pub_only: boolIf true only includes data for public items in a crate (useful for library crates).
reachable_only: boolIf true only includes data for items reachable from the crate root.
distro_crate: boolTrue if and only if the analysed crate is part of the standard Rust distro.
signatures: boolInclude signature information.
borrow_data: boolInclude experimental borrow data.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more