Trait truncate_integer::ChopFrom[][src]

pub trait ChopFrom<T> {
    fn chop_from(value: T) -> Self;
}

Required methods

Perform panicking truncation

If the value fits into the Self type, return that value. Otherwise, panic.

Implementors