rstd 0.1.0
Loading...
Searching...
No Matches
rstd::convert::From< TF > Struct Template Referenceexport
module rstd.core

Trait for constructing a type from another type, analogous to Rust's From. More...

Detailed Description

template<typename TF>
struct rstd::convert::From< TF >

Trait for constructing a type from another type, analogous to Rust's From.

Implementors provide:

  • static from(from_t value) -> Self : Creates Self from a value of type TF.
    Template Parameters
    TFThe source type to convert from.

The documentation for this struct was generated from the following file: