wiwi::num

Trait IntoI8

Source
pub trait IntoI8
where Self: Sealed,
{ // Required method fn into_i8(self) -> i8; }
Expand description

Trait for number types that can be converted into i8, losslessly

Required Methods§

Source

fn into_i8(self) -> i8

Convert into a i8 value

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl IntoI8 for bool

Source§

fn into_i8(self) -> i8

Source§

impl IntoI8 for i8

Source§

fn into_i8(self) -> i8

Implementors§