pub struct PathStep {
pub segment: Box<dyn Segment>,
pub idx: usize,
pub len: usize,
pub code_idxs: Vec<usize>,
}
Expand description
An element of the response to BaseSegment.path_to().
Attributes:
segment (:obj:BaseSegment
): The segment in the chain.
idx (int): The index of the target within its segment
.
len (int): The number of children segment
has.
Fields§
§segment: Box<dyn Segment>
§idx: usize
§len: usize
§code_idxs: Vec<usize>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PathStep
impl !Send for PathStep
impl !Sync for PathStep
impl Unpin for PathStep
impl !UnwindSafe for PathStep
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