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