pub enum Step {
Stop,
Retry(Access),
}Expand description
What a caller does when the walk reaches a def it cannot see past.
GCC’s translate callback, section 9.2. A caller with no rewrite to offer says Step::Stop
and gets the clobber. One that can see through the def rewrites the reference and the walk
carries on with the new one.
Variants§
Stop
Stop here. This is the answer.
Retry(Access)
Carry on past this def, asking about this reference instead.
Trait Implementations§
impl Copy for Step
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze 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