pub enum PathComponentRange {
Field(Range<usize>),
ArrayIndex(usize),
}Expand description
Stored path component referencing the owned path string.
Variants§
Trait Implementations§
Source§impl Clone for PathComponentRange
impl Clone for PathComponentRange
Source§fn clone(&self) -> PathComponentRange
fn clone(&self) -> PathComponentRange
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PathComponentRange
impl RefUnwindSafe for PathComponentRange
impl Send for PathComponentRange
impl Sync for PathComponentRange
impl Unpin for PathComponentRange
impl UnwindSafe for PathComponentRange
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