pub struct DocOpts {
pub out_markdown: Option<PathBuf>,
}
Expand description
The options for the opt2doc
derive macro
TODO: add useful options
Fields§
§out_markdown: Option<PathBuf>
default to store at target/opt2doc/out.md
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocOpts
impl<'de> Deserialize<'de> for DocOpts
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 DocOpts
impl RefUnwindSafe for DocOpts
impl Send for DocOpts
impl Sync for DocOpts
impl Unpin for DocOpts
impl UnwindSafe for DocOpts
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