pub struct RangeIndex {
pub mode: RangeIndexMode,
pub base: String,
pub head: (usize, usize),
pub close_bracket: (usize, usize),
}Fields§
§mode: RangeIndexMode§base: StringSource text of the plain-place base expression (e.g. xs, self.source).
head: (usize, usize)Byte range from outer expression start to range start (&xs[, &mut xs[, or xs[).
close_bracket: (usize, usize)Byte range from range end to closing ] end.
Trait Implementations§
Source§impl Clone for RangeIndex
impl Clone for RangeIndex
Source§impl Debug for RangeIndex
impl Debug for RangeIndex
impl Eq for RangeIndex
Source§impl PartialEq for RangeIndex
impl PartialEq for RangeIndex
impl StructuralPartialEq for RangeIndex
Auto Trait Implementations§
impl Forget for RangeIndex
impl Freeze for RangeIndex
impl Move for RangeIndex
impl RefUnwindSafe for RangeIndex
impl Send for RangeIndexwhere
RawVecInner: Send,
impl Sync for RangeIndexwhere
RawVecInner: Sync,
impl Unpin for RangeIndex
impl UnsafeUnpin for RangeIndex
impl UnwindSafe for RangeIndexwhere
RawVecInner: UnwindSafe,
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> 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.