Lyricdev
GitHub

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