ToSigned

Trait ToSigned 

Source
pub trait ToSigned {
    type Type: Num + Signed;

    // Required method
    fn to_signed(&self) -> Self::Type;
}

Required Associated Types§

Required Methods§

Source

fn to_signed(&self) -> Self::Type

Implementations on Foreign Types§

Source§

impl ToSigned for i8

Source§

type Type = i8

Source§

fn to_signed(&self) -> Self::Type

Source§

impl ToSigned for i16

Source§

type Type = i16

Source§

fn to_signed(&self) -> Self::Type

Source§

impl ToSigned for i32

Source§

type Type = i32

Source§

fn to_signed(&self) -> Self::Type

Source§

impl ToSigned for i64

Source§

type Type = i64

Source§

fn to_signed(&self) -> Self::Type

Source§

impl ToSigned for i128

Source§

type Type = i128

Source§

fn to_signed(&self) -> Self::Type

Source§

impl ToSigned for isize

Source§

type Type = isize

Source§

fn to_signed(&self) -> Self::Type

Source§

impl ToSigned for u8

Source§

type Type = i8

Source§

fn to_signed(&self) -> Self::Type

Source§

impl ToSigned for u16

Source§

type Type = i16

Source§

fn to_signed(&self) -> Self::Type

Source§

impl ToSigned for u32

Source§

type Type = i32

Source§

fn to_signed(&self) -> Self::Type

Source§

impl ToSigned for u64

Source§

type Type = i64

Source§

fn to_signed(&self) -> Self::Type

Source§

impl ToSigned for u128

Source§

type Type = i128

Source§

fn to_signed(&self) -> Self::Type

Source§

impl ToSigned for usize

Source§

type Type = isize

Source§

fn to_signed(&self) -> Self::Type

Implementors§