enum SplitRange {
Old(Utf8Range),
New(Utf8Range),
Both(Utf8Range),
}
Expand description
A tagged range indicating how it was derived from a pair of ranges.
Variants§
Trait Implementations§
source§impl Clone for SplitRange
impl Clone for SplitRange
source§fn clone(&self) -> SplitRange
fn clone(&self) -> SplitRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SplitRange
impl Debug for SplitRange
source§impl PartialEq for SplitRange
impl PartialEq for SplitRange
impl Copy for SplitRange
impl Eq for SplitRange
impl StructuralPartialEq for SplitRange
Auto Trait Implementations§
impl Freeze for SplitRange
impl RefUnwindSafe for SplitRange
impl Send for SplitRange
impl Sync for SplitRange
impl Unpin for SplitRange
impl UnwindSafe for SplitRange
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)