Derivable

com.phasmidsoftware.args.Derivable
See theDerivable companion object
trait Derivable[T]

Type-class trait to allow conversion from type X to type T

Type parameters

T

the result type

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def deriveFromOpt[X](x: X): Option[T]

Method to convert an X to an Option[T].

Method to convert an X to an Option[T].

Type parameters

X

the input type

Value parameters

x

the X value

Attributes

Returns

an Option[T]