pub type UntypedFunction = Function<(), UntypedExpr, UntypedArg>;Aliased Type§
pub struct UntypedFunction {
pub arguments: Vec<UntypedArg>,
pub body: UntypedExpr,
pub doc: Option<String>,
pub location: Span,
pub name: String,
pub public: bool,
pub return_annotation: Option<Annotation>,
pub return_type: (),
pub end_position: usize,
pub on_test_failure: OnTestFailure,
}Fields§
§arguments: Vec<UntypedArg>§body: UntypedExpr§doc: Option<String>§location: Span§name: String§public: bool§return_annotation: Option<Annotation>§return_type: ()§end_position: usize§on_test_failure: OnTestFailureImplementations§
Source§impl UntypedFunction
impl UntypedFunction
pub fn is_default_fallback(&self) -> bool
Trait Implementations§
Source§impl From<Function<(), UntypedExpr, ArgVia<UntypedArg, UntypedExpr>>> for UntypedFunction
impl From<Function<(), UntypedExpr, ArgVia<UntypedArg, UntypedExpr>>> for UntypedFunction
Source§fn from(f: UntypedTest) -> Self
fn from(f: UntypedTest) -> Self
Converts to this type from the input type.