base_traits

Trait ToISize

Source
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.

Required Methods§

Source

fn to_isize(&self) -> isize

Implementations on Foreign Types§

Source§

impl ToISize for i8

Source§

fn to_isize(&self) -> isize

Source§

impl ToISize for i16

Source§

fn to_isize(&self) -> isize

Source§

impl ToISize for i32

Source§

fn to_isize(&self) -> isize

Source§

impl ToISize for isize

Source§

fn to_isize(&self) -> isize

Source§

impl ToISize for u8

Source§

fn to_isize(&self) -> isize

Source§

impl ToISize for u16

Source§

fn to_isize(&self) -> isize

Source§

impl ToISize for u32

Source§

fn to_isize(&self) -> isize

Source§

impl ToISize for u64

Source§

fn to_isize(&self) -> isize

Source§

impl<T: ToISize + ?Sized> ToISize for Box<T>

Source§

fn to_isize(&self) -> isize

Source§

impl<T: ToISize + ?Sized> ToISize for Rc<T>

Source§

fn to_isize(&self) -> isize

Implementors§