pub struct Hunks<'a>(pub Vec<Hunk<'a>>);
Expand description
The hunks that correspond to a document
This type implements a helper builder function that can take
Tuple Fields§
§0: Vec<Hunk<'a>>
Implementations§
Trait Implementations§
impl<'a> Eq for Hunks<'a>
impl<'a> StructuralPartialEq for Hunks<'a>
Auto Trait Implementations§
impl<'a> Freeze for Hunks<'a>
impl<'a> RefUnwindSafe for Hunks<'a>
impl<'a> Send for Hunks<'a>
impl<'a> Sync for Hunks<'a>
impl<'a> Unpin for Hunks<'a>
impl<'a> UnwindSafe for Hunks<'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