Trait flechasdb::numbers::FromAs

source ·
pub trait FromAs<T> {
    // Required method
    fn from_as(t: T) -> Self;
}
Expand description

Represents a number converted from another primitive type.

Required Methods§

source

fn from_as(t: T) -> Self

Returns the converted number.

Implementations on Foreign Types§

source§

impl FromAs<usize> for f32

source§

impl FromAs<usize> for f64

Implementors§