pub enum Elided {
Nothing,
Head,
Middle,
Tail,
}Expand description
Where the bytes that are gone used to be.
Variants§
Nothing
Nothing was removed, so the text carries no marker.
Head
The front is gone and the marker opens the text.
Middle
The middle is gone and the marker sits on a line of its own.
Tail
The tail is gone and the marker closes the text.
Trait Implementations§
impl Copy for Elided
impl Eq for Elided
impl StructuralPartialEq for Elided
Auto Trait Implementations§
impl Freeze for Elided
impl RefUnwindSafe for Elided
impl Send for Elided
impl Sync for Elided
impl Unpin for Elided
impl UnsafeUnpin for Elided
impl UnwindSafe for Elided
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