pub struct ValueMethodFailure { /* private fields */ }Expand description
Receiver construction provenance retained by a value-method catch. Its fields can only be supplied by the evaluator’s actual receiver.
Implementations§
Source§impl ValueMethodFailure
impl ValueMethodFailure
Sourcepub fn method(self) -> ValueMethod
pub fn method(self) -> ValueMethod
The method that caught the error.
Sourcepub fn constructor(self) -> ExprId
pub fn constructor(self) -> ExprId
The receiver’s constructor in this evaluator’s IR.
Trait Implementations§
Source§impl Clone for ValueMethodFailure
impl Clone for ValueMethodFailure
impl Copy for ValueMethodFailure
Source§impl Debug for ValueMethodFailure
impl Debug for ValueMethodFailure
impl Eq for ValueMethodFailure
Source§impl PartialEq for ValueMethodFailure
impl PartialEq for ValueMethodFailure
impl StructuralPartialEq for ValueMethodFailure
Auto Trait Implementations§
impl Forget for ValueMethodFailure
impl Freeze for ValueMethodFailure
impl Move for ValueMethodFailure
impl RefUnwindSafe for ValueMethodFailure
impl Send for ValueMethodFailure
impl Sync for ValueMethodFailure
impl Unpin for ValueMethodFailure
impl UnsafeUnpin for ValueMethodFailure
impl UnwindSafe for ValueMethodFailure
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