pub struct RustdocConfig {
pub source_path: String,
pub output_dir: String,
pub theme: DocTheme,
pub cross_references: bool,
pub features: Vec<String>,
pub cfg_flags: Vec<String>,
pub document_private: bool,
}Expand description
Configuration for a rustdoc generation run.
Fields§
§source_path: StringRoot path of the source crate or workspace
output_dir: StringOutput directory for generated HTML
theme: DocThemeDocumentation theme
cross_references: boolEnable cross-reference linking between crates
features: Vec<String>Extra features to pass via --features
cfg_flags: Vec<String>Extra --cfg flags
document_private: boolWhether to include private items (--document-private-items)
Implementations§
Source§impl RustdocConfig
impl RustdocConfig
Trait Implementations§
Source§impl Clone for RustdocConfig
impl Clone for RustdocConfig
Source§fn clone(&self) -> RustdocConfig
fn clone(&self) -> RustdocConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RustdocConfig
impl Debug for RustdocConfig
Auto Trait Implementations§
impl Freeze for RustdocConfig
impl RefUnwindSafe for RustdocConfig
impl Send for RustdocConfig
impl Sync for RustdocConfig
impl Unpin for RustdocConfig
impl UnwindSafe for RustdocConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)