pub trait ToISize {
// Required method
fn to_isize(&self) -> isize;
}Expand description
Trait defining instance method to_isize() : isize that provides a
potentially expensive conversion into isize.
It is expected that the implementing type “is-a” isize in a logical
manner.
§Additional Implementations on Foreign Types
§Built-in Types
If the feature "implement-ToISize-for-built_ins"
is defined (as it is by "default"), then this is also implemented
for the following type(s):