ToU16

Trait ToU16 

Source
pub trait ToU16 {
    // Required method
    fn to_u16(self) -> u16;
}

Required Methods§

Source

fn to_u16(self) -> u16

Implementations on Foreign Types§

Source§

impl ToU16 for f32

Source§

fn to_u16(self) -> u16

Source§

impl ToU16 for f64

Source§

fn to_u16(self) -> u16

Source§

impl ToU16 for i8

Source§

fn to_u16(self) -> u16

Source§

impl ToU16 for i16

Source§

fn to_u16(self) -> u16

Source§

impl ToU16 for i32

Source§

fn to_u16(self) -> u16

Source§

impl ToU16 for i64

Source§

fn to_u16(self) -> u16

Source§

impl ToU16 for i128

Source§

fn to_u16(self) -> u16

Source§

impl ToU16 for isize

Source§

fn to_u16(self) -> u16

Implementors§

Source§

impl<T: AsU16> ToU16 for T