wiwi::num

Trait IntoI8Lossy

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

Trait for number types that can be converted into i8, potentially lossily

Required Methods§

Source

fn into_i8_lossy(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 IntoI8Lossy for bool

Source§

impl IntoI8Lossy for f32

Source§

impl IntoI8Lossy for f64

Source§

impl IntoI8Lossy for i8

Source§

impl IntoI8Lossy for i16

Source§

impl IntoI8Lossy for i32

Source§

impl IntoI8Lossy for i64

Source§

impl IntoI8Lossy for i128

Source§

impl IntoI8Lossy for isize

Source§

impl IntoI8Lossy for u8

Source§

impl IntoI8Lossy for u16

Source§

impl IntoI8Lossy for u32

Source§

impl IntoI8Lossy for u64

Source§

impl IntoI8Lossy for u128

Source§

impl IntoI8Lossy for usize

Implementors§