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