pub trait IntoI32Lossywhere
Self: Sealed,{
// Required method
fn into_i32_lossy(self) -> i32;
}
Expand description
Trait for number types that can be converted into i32
, potentially lossily
Required Methods§
Sourcefn into_i32_lossy(self) -> i32
fn into_i32_lossy(self) -> i32
Convert into a i32
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.