interface From
pub interface From<T>
Converts a value into the type: Centimeters.from(m).
A type writes From; Into follows from it. as converts numbers only.
Methods
static fn from(v: T): Self
pub interface From<T>
Converts a value into the type: Centimeters.from(m).
A type writes From; Into follows from it. as converts numbers only.
static fn from(v: T): Self