pub enum RefineArg {
Bind(Ident, BindKind, Span, NodeId),
Expr(Expr),
Abs(RefineParams, Expr, Span, NodeId),
}
Variants§
Bind(Ident, BindKind, Span, NodeId)
@n
or #n
, the span corresponds to the span of the identifier plus the binder token (@
or #
)
Expr(Expr)
Abs(RefineParams, Expr, Span, NodeId)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RefineArg
impl RefUnwindSafe for RefineArg
impl Send for RefineArg
impl Sync for RefineArg
impl Unpin for RefineArg
impl UnwindSafe for RefineArg
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