Trait ToSigned

Source
pub trait ToSigned {
    type Output;

    // Required method
    fn to_signed(self) -> Self::Output;
}
Expand description

For type that have a signed equivalent

Required Associated Types§

Source

type Output

The signed equivalence

Required Methods§

Source

fn to_signed(self) -> Self::Output

Implementations on Foreign Types§

Source§

impl ToSigned for f32

Source§

type Output = f32

Source§

fn to_signed(self) -> Self::Output

Source§

impl ToSigned for f64

Source§

type Output = f64

Source§

fn to_signed(self) -> Self::Output

Source§

impl ToSigned for i8

Source§

type Output = i8

Source§

fn to_signed(self) -> Self::Output

Source§

impl ToSigned for i16

Source§

type Output = i16

Source§

fn to_signed(self) -> Self::Output

Source§

impl ToSigned for i32

Source§

type Output = i32

Source§

fn to_signed(self) -> Self::Output

Source§

impl ToSigned for i64

Source§

type Output = i64

Source§

fn to_signed(self) -> Self::Output

Source§

impl ToSigned for isize

Source§

impl ToSigned for u8

Source§

type Output = i8

Source§

fn to_signed(self) -> Self::Output

Source§

impl ToSigned for u16

Source§

type Output = i16

Source§

fn to_signed(self) -> Self::Output

Source§

impl ToSigned for u32

Source§

type Output = i32

Source§

fn to_signed(self) -> Self::Output

Source§

impl ToSigned for u64

Source§

type Output = i64

Source§

fn to_signed(self) -> Self::Output

Source§

impl ToSigned for usize

Source§

impl<T, const N: usize> ToSigned for [T; N]
where T: ToSigned,

Source§

type Output = [<T as ToSigned>::Output; N]

Source§

fn to_signed(self) -> Self::Output

Implementors§

Source§

impl<T> ToSigned for RectangleBase<T>
where T: ToSigned,

Source§

impl<T> ToSigned for ColorRGBAOf<T>
where T: ToSigned,

Source§

impl<T, const N: usize> ToSigned for Vector<T, N>
where T: ToSigned,