SingleApply
Mix-in providing an ergonomic apply(outer, arg) shortcut for operations with exactly one input. The self-type refinement requires the mixing class to have Args = Arg *: EmptyTuple.
Attributes
- Graph
-
- Supertypes
- Self type
-
Members list
Type members
Types
Inherited types
Attributes
- Inherited from:
- DoneOperation
Inherited and Abstract types
Tuple of InputElem subtypes describing the operation's parameters, in declaration order.
Tuple of InputElem subtypes describing the operation's parameters, in declaration order.
Attributes
- Inherited from:
- DoneOperation
The member name (or the override provided by @name).
Annotation metadata on the member, represented as an AnnotatedType chain wrapping the Meta base type.
Annotation metadata on the member, represented as an AnnotatedType chain wrapping the Meta base type.
Attributes
- Inherited from:
- DoneOperation
Attributes
- Inherited from:
- DoneOperation
The return type of the operation.
Attributes
- Inherited from:
- DoneOperation
Value members
Concrete methods
Inherited and Abstract methods
Invokes the underlying member on an instance of the enclosing type.
Invokes the underlying member on an instance of the enclosing type.
Arguments in args correspond positionally to InputElems (multiple parameter lists are flattened). Each argument is unboxed via asInstanceOf to its declared parameter type, so supplying a value of the wrong type will fail at runtime.
Value parameters
- args
-
the positional arguments, in InputElems order
- outer
-
the instance on which to invoke the member
Attributes
- Inherited from:
- DoneOperation
Attributes
- Inherited from:
- DoneOperation