pub struct ReportBuilder { /* private fields */ }Implementations§
Source§impl ReportBuilder
impl ReportBuilder
pub fn new(header: ReportHeader<'_>) -> Self
pub fn push_section_heading(&mut self, title: &str)
pub fn push_list_item(&mut self, item: &str)
pub fn push_blank_line(&mut self)
pub fn push_code_section( &mut self, title: &str, lang: &str, body: &str, note: Option<&str>, trailing_blank: bool, )
pub fn finish(self) -> String
Auto Trait Implementations§
impl Freeze for ReportBuilder
impl RefUnwindSafe for ReportBuilder
impl Send for ReportBuilder
impl Sync for ReportBuilder
impl Unpin for ReportBuilder
impl UnsafeUnpin for ReportBuilder
impl UnwindSafe for ReportBuilder
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