pub struct CombinedStructuredLine {
pub parents: Vec<char>,
pub text: String,
pub kind: CombinedStructuredLineKind,
}Expand description
One line in a combined (--cc) hunk: parent-column markers plus text.
Fields§
§parents: Vec<char>One marker per parent: space, +, or - (Git combined diff columns).
text: StringLine text without parent-column prefixes.
kind: CombinedStructuredLineKindAdd / delete / context for JSON and CLI rendering.
Trait Implementations§
Source§impl Clone for CombinedStructuredLine
impl Clone for CombinedStructuredLine
Source§impl Debug for CombinedStructuredLine
impl Debug for CombinedStructuredLine
impl Eq for CombinedStructuredLine
Source§impl PartialEq for CombinedStructuredLine
impl PartialEq for CombinedStructuredLine
impl StructuralPartialEq for CombinedStructuredLine
Auto Trait Implementations§
impl Freeze for CombinedStructuredLine
impl RefUnwindSafe for CombinedStructuredLine
impl Send for CombinedStructuredLine
impl Sync for CombinedStructuredLine
impl Unpin for CombinedStructuredLine
impl UnsafeUnpin for CombinedStructuredLine
impl UnwindSafe for CombinedStructuredLine
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