pub struct DocBuilder { /* private fields */ }Expand description
A builder for PrettyDoc values with a fluent API.
Implementations§
Source§impl DocBuilder
impl DocBuilder
Sourcepub fn then_newline(self) -> Self
pub fn then_newline(self) -> Self
Appends a newline.
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