AsUSize

Trait AsUSize 

Source
pub trait AsUSize {
    // Required method
    fn as_usize(self) -> usize;
}
Expand description

Trait which allows to convert Self to usize, since To is not implemented by f32 and f64.

Required Methods§

Source

fn as_usize(self) -> usize

Convert Self to usize.

Implementations on Foreign Types§

Source§

impl AsUSize for f32

Source§

impl AsUSize for f64

Implementors§