pub enum DocsPathMode {
TomlConfig,
InlinePaths,
}Expand description
Configuration mode for documentation paths
Variants§
TomlConfig
Path configured in Cargo.toml [package.metadata.syncdoc]
Macros will be called without path arguments: #[omnidoc], module_doc!()
InlinePaths
Path specified inline in each macro call
Macros will include path: #[omnidoc(path = "docs")], module_doc!(path = "docs")
Trait Implementations§
Source§impl Clone for DocsPathMode
impl Clone for DocsPathMode
Source§fn clone(&self) -> DocsPathMode
fn clone(&self) -> DocsPathMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocsPathMode
impl Debug for DocsPathMode
Source§impl PartialEq for DocsPathMode
impl PartialEq for DocsPathMode
impl Copy for DocsPathMode
impl Eq for DocsPathMode
impl StructuralPartialEq for DocsPathMode
Auto Trait Implementations§
impl Freeze for DocsPathMode
impl RefUnwindSafe for DocsPathMode
impl Send for DocsPathMode
impl Sync for DocsPathMode
impl Unpin for DocsPathMode
impl UnwindSafe for DocsPathMode
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