pub enum Step {
Field {
decl: DeclId,
index: usize,
},
Payload {
decl: DeclId,
ctor: usize,
index: usize,
},
Base(DeclId),
Index(usize),
Element,
}Expand description
One step from a type down to a part of it.
Variants§
Field
The indexth field of the record decl.
Payload
The indexth part of the ctorth constructor of the enum decl.
Fields
Base(DeclId)
The base of the newtype decl, which stands in its place.
Index(usize)
A tuple position.
Element
An argument of a built-in or host type, such as a list’s item.
Trait Implementations§
impl Copy for Step
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Forget for Step
impl Freeze for Step
impl Move for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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