pub enum LocationSegment {
Member(String),
Index(usize),
}Variants§
Trait Implementations§
Source§impl Clone for LocationSegment
impl Clone for LocationSegment
Source§fn clone(&self) -> LocationSegment
fn clone(&self) -> LocationSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocationSegment
impl Debug for LocationSegment
impl Eq for LocationSegment
Source§impl PartialEq for LocationSegment
impl PartialEq for LocationSegment
Source§fn eq(&self, other: &LocationSegment) -> bool
fn eq(&self, other: &LocationSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocationSegment
Auto Trait Implementations§
impl Freeze for LocationSegment
impl RefUnwindSafe for LocationSegment
impl Send for LocationSegment
impl Sync for LocationSegment
impl Unpin for LocationSegment
impl UnsafeUnpin for LocationSegment
impl UnwindSafe for LocationSegment
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