Enum flux_syntax::surface::FnInput
source · 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 Freeze for FnInput
impl RefUnwindSafe for FnInput
impl Send for FnInput
impl Sync for FnInput
impl Unpin 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