pub enum ArgRef {
Positional(usize),
Named(&'static str),
}
Expand description
A way to refer to an argument in an error.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArgRef
impl RefUnwindSafe for ArgRef
impl Send for ArgRef
impl Sync for ArgRef
impl Unpin for ArgRef
impl UnwindSafe for ArgRef
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