pub struct SideMap<'a> {
pub diff: &'a LineDiff,
pub side: Side,
}Expand description
One side of a diff as a display map: row → line, with filler rows.
Fields§
§diff: &'a LineDiff§side: SideTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SideMap<'a>
impl<'a> RefUnwindSafe for SideMap<'a>
impl<'a> Send for SideMap<'a>
impl<'a> Sync for SideMap<'a>
impl<'a> Unpin for SideMap<'a>
impl<'a> UnsafeUnpin for SideMap<'a>
impl<'a> UnwindSafe for SideMap<'a>
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