pub enum Segment {
Role {
role: Role,
name: Option<String>,
index: u32,
},
TestId {
id: String,
index: u32,
},
}Expand description
One step of a path.
Variants§
Role
role "name", with [n] when n earlier siblings share the role and name.
Fields
TestId
#id, for a node with a test id.
Trait Implementations§
impl Eq for Segment
impl StructuralPartialEq for Segment
Auto Trait Implementations§
impl Forget for Segment
impl Freeze for Segment
impl Move for Segment
impl RefUnwindSafe for Segment
impl Send for Segmentwhere
RawVecInner: Send,
impl Sync for Segmentwhere
RawVecInner: Sync,
impl Unpin for Segment
impl UnsafeUnpin for Segment
impl UnwindSafe for Segmentwhere
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