pub enum FnInput {
Constr(Ident, Path, Expr, NodeId),
StrgRef(Ident, Ty, NodeId),
Ty(Option<Ident>, Ty, NodeId),
}Variants§
Constr(Ident, Path, Expr, NodeId)
example a: i32{a > 0}
StrgRef(Ident, Ty, NodeId)
example v: &strg i32
Ty(Option<Ident>, Ty, NodeId)
A type with an optional binder, e.g, i32, x: i32 or x: i32{v: v > 0}.
The binder has a different meaning depending on the type.
Trait Implementations§
Auto Trait Implementations§
impl DynSend for FnInput
impl DynSync for FnInput
impl Freeze for FnInput
impl RefUnwindSafe for FnInput
impl Send for FnInput
impl Sync for FnInput
impl Unpin for FnInput
impl UnsafeUnpin for FnInput
impl UnwindSafe for FnInput
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