pub struct Change {
pub span: Span,
pub new_content: Vec<String>,
}Fields§
§span: Span§new_content: Vec<String>Instead of a simple string, we use a vector of lines to make the rendering process more reliable.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnwindSafe for Change
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