numext_fixed_uint_core::prelude

Trait UintConvert

Source
pub trait UintConvert<T> {
    // Required method
    fn convert_into(&self) -> (T, bool);
}

Required Methods§

Source

fn convert_into(&self) -> (T, bool)

Convert a fixed uint into another, return the new fixed uint and if it be truncated.

Implementors§

Source§

impl UintConvert<U128> for U160

Source§

impl UintConvert<U128> for U224

Source§

impl UintConvert<U128> for U256

Source§

impl UintConvert<U128> for U384

Source§

impl UintConvert<U128> for U512

Source§

impl UintConvert<U128> for U520

Source§

impl UintConvert<U128> for U1024

Source§

impl UintConvert<U128> for U2048

Source§

impl UintConvert<U128> for U4096

Source§

impl UintConvert<U160> for U128

Source§

impl UintConvert<U160> for U224

Source§

impl UintConvert<U160> for U256

Source§

impl UintConvert<U160> for U384

Source§

impl UintConvert<U160> for U512

Source§

impl UintConvert<U160> for U520

Source§

impl UintConvert<U160> for U1024

Source§

impl UintConvert<U160> for U2048

Source§

impl UintConvert<U160> for U4096

Source§

impl UintConvert<U224> for U128

Source§

impl UintConvert<U224> for U160

Source§

impl UintConvert<U224> for U256

Source§

impl UintConvert<U224> for U384

Source§

impl UintConvert<U224> for U512

Source§

impl UintConvert<U224> for U520

Source§

impl UintConvert<U224> for U1024

Source§

impl UintConvert<U224> for U2048

Source§

impl UintConvert<U224> for U4096

Source§

impl UintConvert<U256> for U128

Source§

impl UintConvert<U256> for U160

Source§

impl UintConvert<U256> for U224

Source§

impl UintConvert<U256> for U384

Source§

impl UintConvert<U256> for U512

Source§

impl UintConvert<U256> for U520

Source§

impl UintConvert<U256> for U1024

Source§

impl UintConvert<U256> for U2048

Source§

impl UintConvert<U256> for U4096

Source§

impl UintConvert<U384> for U128

Source§

impl UintConvert<U384> for U160

Source§

impl UintConvert<U384> for U224

Source§

impl UintConvert<U384> for U256

Source§

impl UintConvert<U384> for U512

Source§

impl UintConvert<U384> for U520

Source§

impl UintConvert<U384> for U1024

Source§

impl UintConvert<U384> for U2048

Source§

impl UintConvert<U384> for U4096

Source§

impl UintConvert<U512> for U128

Source§

impl UintConvert<U512> for U160

Source§

impl UintConvert<U512> for U224

Source§

impl UintConvert<U512> for U256

Source§

impl UintConvert<U512> for U384

Source§

impl UintConvert<U512> for U520

Source§

impl UintConvert<U512> for U1024

Source§

impl UintConvert<U512> for U2048

Source§

impl UintConvert<U512> for U4096

Source§

impl UintConvert<U520> for U128

Source§

impl UintConvert<U520> for U160

Source§

impl UintConvert<U520> for U224

Source§

impl UintConvert<U520> for U256

Source§

impl UintConvert<U520> for U384

Source§

impl UintConvert<U520> for U512

Source§

impl UintConvert<U520> for U1024

Source§

impl UintConvert<U520> for U2048

Source§

impl UintConvert<U520> for U4096

Source§

impl UintConvert<U1024> for U128

Source§

impl UintConvert<U1024> for U160

Source§

impl UintConvert<U1024> for U224

Source§

impl UintConvert<U1024> for U256

Source§

impl UintConvert<U1024> for U384

Source§

impl UintConvert<U1024> for U512

Source§

impl UintConvert<U1024> for U520

Source§

impl UintConvert<U1024> for U2048

Source§

impl UintConvert<U1024> for U4096

Source§

impl UintConvert<U2048> for U128

Source§

impl UintConvert<U2048> for U160

Source§

impl UintConvert<U2048> for U224

Source§

impl UintConvert<U2048> for U256

Source§

impl UintConvert<U2048> for U384

Source§

impl UintConvert<U2048> for U512

Source§

impl UintConvert<U2048> for U520

Source§

impl UintConvert<U2048> for U1024

Source§

impl UintConvert<U2048> for U4096

Source§

impl UintConvert<U4096> for U128

Source§

impl UintConvert<U4096> for U160

Source§

impl UintConvert<U4096> for U224

Source§

impl UintConvert<U4096> for U256

Source§

impl UintConvert<U4096> for U384

Source§

impl UintConvert<U4096> for U512

Source§

impl UintConvert<U4096> for U520

Source§

impl UintConvert<U4096> for U1024

Source§

impl UintConvert<U4096> for U2048