pub struct DocBuilder { /* private fields */ }Implementations§
Source§impl DocBuilder
impl DocBuilder
pub fn new() -> Self
pub fn wordset(self, words: &WordSet) -> Self
pub fn multi_word(self, multi: &[(&str, WordSet)]) -> Self
pub fn triple_word(self, triples: &[(&str, &str, WordSet)]) -> Self
pub fn subcommand(self, name: impl Into<String>) -> Self
pub fn section(self, text: impl Into<String>) -> Self
pub fn build(self) -> String
Trait Implementations§
Source§impl Default for DocBuilder
impl Default for DocBuilder
Source§fn default() -> DocBuilder
fn default() -> DocBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DocBuilder
impl RefUnwindSafe for DocBuilder
impl Send for DocBuilder
impl Sync for DocBuilder
impl Unpin for DocBuilder
impl UnsafeUnpin for DocBuilder
impl UnwindSafe for DocBuilder
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