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