Skip to main content

UintConvert

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl UintConvert<U128> for U160

Available on crate features bits_128 and bits_160 only.
Source§

impl UintConvert<U128> for U224

Available on crate features bits_128 and bits_224 only.
Source§

impl UintConvert<U128> for U256

Available on crate features bits_128 and bits_256 only.
Source§

impl UintConvert<U128> for U384

Available on crate features bits_128 and bits_384 only.
Source§

impl UintConvert<U128> for U512

Available on crate features bits_128 and bits_512 only.
Source§

impl UintConvert<U128> for U520

Available on crate features bits_128 and bits_520 only.
Source§

impl UintConvert<U128> for U1024

Available on crate features bits_1024 and bits_128 only.
Source§

impl UintConvert<U128> for U2048

Available on crate features bits_128 and bits_2048 only.
Source§

impl UintConvert<U128> for U4096

Available on crate features bits_128 and bits_4096 only.
Source§

impl UintConvert<U160> for U128

Available on crate features bits_128 and bits_160 only.
Source§

impl UintConvert<U160> for U224

Available on crate features bits_160 and bits_224 only.
Source§

impl UintConvert<U160> for U256

Available on crate features bits_160 and bits_256 only.
Source§

impl UintConvert<U160> for U384

Available on crate features bits_160 and bits_384 only.
Source§

impl UintConvert<U160> for U512

Available on crate features bits_160 and bits_512 only.
Source§

impl UintConvert<U160> for U520

Available on crate features bits_160 and bits_520 only.
Source§

impl UintConvert<U160> for U1024

Available on crate features bits_1024 and bits_160 only.
Source§

impl UintConvert<U160> for U2048

Available on crate features bits_160 and bits_2048 only.
Source§

impl UintConvert<U160> for U4096

Available on crate features bits_160 and bits_4096 only.
Source§

impl UintConvert<U224> for U128

Available on crate features bits_128 and bits_224 only.
Source§

impl UintConvert<U224> for U160

Available on crate features bits_160 and bits_224 only.
Source§

impl UintConvert<U224> for U256

Available on crate features bits_224 and bits_256 only.
Source§

impl UintConvert<U224> for U384

Available on crate features bits_224 and bits_384 only.
Source§

impl UintConvert<U224> for U512

Available on crate features bits_224 and bits_512 only.
Source§

impl UintConvert<U224> for U520

Available on crate features bits_224 and bits_520 only.
Source§

impl UintConvert<U224> for U1024

Available on crate features bits_1024 and bits_224 only.
Source§

impl UintConvert<U224> for U2048

Available on crate features bits_2048 and bits_224 only.
Source§

impl UintConvert<U224> for U4096

Available on crate features bits_224 and bits_4096 only.
Source§

impl UintConvert<U256> for U128

Available on crate features bits_128 and bits_256 only.
Source§

impl UintConvert<U256> for U160

Available on crate features bits_160 and bits_256 only.
Source§

impl UintConvert<U256> for U224

Available on crate features bits_224 and bits_256 only.
Source§

impl UintConvert<U256> for U384

Available on crate features bits_256 and bits_384 only.
Source§

impl UintConvert<U256> for U512

Available on crate features bits_256 and bits_512 only.
Source§

impl UintConvert<U256> for U520

Available on crate features bits_256 and bits_520 only.
Source§

impl UintConvert<U256> for U1024

Available on crate features bits_1024 and bits_256 only.
Source§

impl UintConvert<U256> for U2048

Available on crate features bits_2048 and bits_256 only.
Source§

impl UintConvert<U256> for U4096

Available on crate features bits_256 and bits_4096 only.
Source§

impl UintConvert<U384> for U128

Available on crate features bits_128 and bits_384 only.
Source§

impl UintConvert<U384> for U160

Available on crate features bits_160 and bits_384 only.
Source§

impl UintConvert<U384> for U224

Available on crate features bits_224 and bits_384 only.
Source§

impl UintConvert<U384> for U256

Available on crate features bits_256 and bits_384 only.
Source§

impl UintConvert<U384> for U512

Available on crate features bits_384 and bits_512 only.
Source§

impl UintConvert<U384> for U520

Available on crate features bits_384 and bits_520 only.
Source§

impl UintConvert<U384> for U1024

Available on crate features bits_1024 and bits_384 only.
Source§

impl UintConvert<U384> for U2048

Available on crate features bits_2048 and bits_384 only.
Source§

impl UintConvert<U384> for U4096

Available on crate features bits_384 and bits_4096 only.
Source§

impl UintConvert<U512> for U128

Available on crate features bits_128 and bits_512 only.
Source§

impl UintConvert<U512> for U160

Available on crate features bits_160 and bits_512 only.
Source§

impl UintConvert<U512> for U224

Available on crate features bits_224 and bits_512 only.
Source§

impl UintConvert<U512> for U256

Available on crate features bits_256 and bits_512 only.
Source§

impl UintConvert<U512> for U384

Available on crate features bits_384 and bits_512 only.
Source§

impl UintConvert<U512> for U520

Available on crate features bits_512 and bits_520 only.
Source§

impl UintConvert<U512> for U1024

Available on crate features bits_1024 and bits_512 only.
Source§

impl UintConvert<U512> for U2048

Available on crate features bits_2048 and bits_512 only.
Source§

impl UintConvert<U512> for U4096

Available on crate features bits_4096 and bits_512 only.
Source§

impl UintConvert<U520> for U128

Available on crate features bits_128 and bits_520 only.
Source§

impl UintConvert<U520> for U160

Available on crate features bits_160 and bits_520 only.
Source§

impl UintConvert<U520> for U224

Available on crate features bits_224 and bits_520 only.
Source§

impl UintConvert<U520> for U256

Available on crate features bits_256 and bits_520 only.
Source§

impl UintConvert<U520> for U384

Available on crate features bits_384 and bits_520 only.
Source§

impl UintConvert<U520> for U512

Available on crate features bits_512 and bits_520 only.
Source§

impl UintConvert<U520> for U1024

Available on crate features bits_1024 and bits_520 only.
Source§

impl UintConvert<U520> for U2048

Available on crate features bits_2048 and bits_520 only.
Source§

impl UintConvert<U520> for U4096

Available on crate features bits_4096 and bits_520 only.
Source§

impl UintConvert<U1024> for U128

Available on crate features bits_1024 and bits_128 only.
Source§

impl UintConvert<U1024> for U160

Available on crate features bits_1024 and bits_160 only.
Source§

impl UintConvert<U1024> for U224

Available on crate features bits_1024 and bits_224 only.
Source§

impl UintConvert<U1024> for U256

Available on crate features bits_1024 and bits_256 only.
Source§

impl UintConvert<U1024> for U384

Available on crate features bits_1024 and bits_384 only.
Source§

impl UintConvert<U1024> for U512

Available on crate features bits_1024 and bits_512 only.
Source§

impl UintConvert<U1024> for U520

Available on crate features bits_1024 and bits_520 only.
Source§

impl UintConvert<U1024> for U2048

Available on crate features bits_1024 and bits_2048 only.
Source§

impl UintConvert<U1024> for U4096

Available on crate features bits_1024 and bits_4096 only.
Source§

impl UintConvert<U2048> for U128

Available on crate features bits_128 and bits_2048 only.
Source§

impl UintConvert<U2048> for U160

Available on crate features bits_160 and bits_2048 only.
Source§

impl UintConvert<U2048> for U224

Available on crate features bits_2048 and bits_224 only.
Source§

impl UintConvert<U2048> for U256

Available on crate features bits_2048 and bits_256 only.
Source§

impl UintConvert<U2048> for U384

Available on crate features bits_2048 and bits_384 only.
Source§

impl UintConvert<U2048> for U512

Available on crate features bits_2048 and bits_512 only.
Source§

impl UintConvert<U2048> for U520

Available on crate features bits_2048 and bits_520 only.
Source§

impl UintConvert<U2048> for U1024

Available on crate features bits_1024 and bits_2048 only.
Source§

impl UintConvert<U2048> for U4096

Available on crate features bits_2048 and bits_4096 only.
Source§

impl UintConvert<U4096> for U128

Available on crate features bits_128 and bits_4096 only.
Source§

impl UintConvert<U4096> for U160

Available on crate features bits_160 and bits_4096 only.
Source§

impl UintConvert<U4096> for U224

Available on crate features bits_224 and bits_4096 only.
Source§

impl UintConvert<U4096> for U256

Available on crate features bits_256 and bits_4096 only.
Source§

impl UintConvert<U4096> for U384

Available on crate features bits_384 and bits_4096 only.
Source§

impl UintConvert<U4096> for U512

Available on crate features bits_4096 and bits_512 only.
Source§

impl UintConvert<U4096> for U520

Available on crate features bits_4096 and bits_520 only.
Source§

impl UintConvert<U4096> for U1024

Available on crate features bits_1024 and bits_4096 only.
Source§

impl UintConvert<U4096> for U2048

Available on crate features bits_2048 and bits_4096 only.