pub struct DiffData {
pub file_path: String,
pub old_content: String,
pub new_content: String,
}Expand description
Data for rendering file diffs in the TUI.
Fields§
§file_path: String§old_content: String§new_content: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for DiffData
impl RefUnwindSafe for DiffData
impl Send for DiffData
impl Sync for DiffData
impl Unpin for DiffData
impl UnsafeUnpin for DiffData
impl UnwindSafe for DiffData
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