pub struct LineByLinePrinter { /* private fields */ }Implementations§
Source§impl LineByLinePrinter
impl LineByLinePrinter
pub fn new(config: Diff2HtmlConfig) -> LineByLinePrinter
pub fn render(&self, files: &Vec<File>) -> String
Auto Trait Implementations§
impl Freeze for LineByLinePrinter
impl !RefUnwindSafe for LineByLinePrinter
impl Send for LineByLinePrinter
impl Sync for LineByLinePrinter
impl Unpin for LineByLinePrinter
impl !UnwindSafe for LineByLinePrinter
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