pub type TypedFunction = Function<Rc<Type>, TypedExpr, TypedArg>;Aliased Type§
pub struct TypedFunction {
pub arguments: Vec<TypedArg>,
pub body: TypedExpr,
pub doc: Option<String>,
pub location: Span,
pub name: String,
pub public: bool,
pub return_annotation: Option<Annotation>,
pub return_type: Rc<Type>,
pub end_position: usize,
pub on_test_failure: OnTestFailure,
}Fields§
§arguments: Vec<TypedArg>§body: TypedExpr§doc: Option<String>§location: Span§name: String§public: bool§return_annotation: Option<Annotation>§return_type: Rc<Type>§end_position: usize§on_test_failure: OnTestFailure