pub struct TextRemap {
pub source: Range<usize>,
pub target: Range<usize>,
}
Expand description
The pair of a source and the corresponding target text remap range.
Fields§
§source: Range<usize>
Source text range.
target: Range<usize>
Target text range.
Trait Implementations§
Source§impl Ord for TextRemap
impl Ord for TextRemap
Source§impl PartialOrd for TextRemap
impl PartialOrd for TextRemap
impl Eq for TextRemap
impl StructuralPartialEq for TextRemap
Auto Trait Implementations§
impl Freeze for TextRemap
impl RefUnwindSafe for TextRemap
impl Send for TextRemap
impl Sync for TextRemap
impl Unpin for TextRemap
impl UnwindSafe for TextRemap
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.