pub struct PatchLine {
pub number: u32,
pub text: String,
}Expand description
One line of patch text, as a reader may see it.
number is the position inside the patch, counted from one, so a
withheld line and the lines around it line up in one list without the
reader joining two lists by index.
Fields§
§number: u32§text: StringTrait Implementations§
impl Eq for PatchLine
impl StructuralPartialEq for PatchLine
Auto Trait Implementations§
impl Freeze for PatchLine
impl RefUnwindSafe for PatchLine
impl Send for PatchLine
impl Sync for PatchLine
impl Unpin for PatchLine
impl UnsafeUnpin for PatchLine
impl UnwindSafe for PatchLine
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