CastFrom

Trait CastFrom 

Source
pub trait CastFrom<T> {
    // Required method
    fn cast_from(value: T) -> Self;
}
Expand description

Cast from one type to another.

Mirrors From but with casting semantics. CastFrom<T> for U means “U can be created from T via cast”.

§Example

use casting::CastFrom;

let x: u8 = 42;
let y = u16::cast_from(x);
assert_eq!(y, 42u16);

Required Methods§

Source

fn cast_from(value: T) -> Self

Casts value from type T to Self.

This method performs a numeric conversion using the as keyword.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl CastFrom<bool> for i8

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<bool> for i16

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<bool> for i32

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<bool> for i64

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<bool> for i128

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<bool> for isize

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<bool> for u8

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<bool> for u16

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<bool> for u32

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<bool> for u64

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<bool> for u128

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<bool> for usize

Source§

fn cast_from(value: bool) -> Self

Source§

impl CastFrom<char> for i8

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<char> for i16

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<char> for i32

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<char> for i64

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<char> for i128

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<char> for isize

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<char> for u8

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<char> for u16

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<char> for u32

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<char> for u64

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<char> for u128

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<char> for usize

Source§

fn cast_from(value: char) -> Self

Source§

impl CastFrom<f16> for f32

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for f64

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for f128

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for i8

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for i16

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for i32

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for i64

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for i128

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for isize

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for u8

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for u16

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for u32

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for u64

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for u128

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f16> for usize

Source§

fn cast_from(value: f16) -> Self

Source§

impl CastFrom<f32> for f16

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for f64

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for f128

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for i8

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for i16

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for i32

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for i64

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for i128

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for isize

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for u8

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for u16

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for u32

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for u64

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for u128

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f32> for usize

Source§

fn cast_from(value: f32) -> Self

Source§

impl CastFrom<f64> for f16

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for f32

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for f128

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for i8

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for i16

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for i32

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for i64

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for i128

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for isize

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for u8

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for u16

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for u32

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for u64

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for u128

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f64> for usize

Source§

fn cast_from(value: f64) -> Self

Source§

impl CastFrom<f128> for f16

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for f32

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for f64

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for i8

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for i16

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for i32

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for i64

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for i128

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for isize

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for u8

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for u16

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for u32

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for u64

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for u128

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<f128> for usize

Source§

fn cast_from(value: f128) -> Self

Source§

impl CastFrom<i8> for f16

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for f32

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for f64

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for f128

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for i16

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for i32

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for i64

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for i128

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for isize

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for u8

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for u16

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for u32

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for u64

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for u128

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i8> for usize

Source§

fn cast_from(value: i8) -> Self

Source§

impl CastFrom<i16> for f16

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for f32

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for f64

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for f128

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for i8

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for i32

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for i64

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for i128

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for isize

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for u8

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for u16

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for u32

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for u64

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for u128

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i16> for usize

Source§

fn cast_from(value: i16) -> Self

Source§

impl CastFrom<i32> for f16

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for f32

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for f64

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for f128

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for i8

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for i16

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for i64

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for i128

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for isize

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for u8

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for u16

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for u32

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for u64

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for u128

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i32> for usize

Source§

fn cast_from(value: i32) -> Self

Source§

impl CastFrom<i64> for f16

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for f32

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for f64

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for f128

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for i8

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for i16

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for i32

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for i128

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for isize

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for u8

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for u16

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for u32

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for u64

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for u128

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i64> for usize

Source§

fn cast_from(value: i64) -> Self

Source§

impl CastFrom<i128> for f16

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for f32

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for f64

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for f128

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for i8

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for i16

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for i32

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for i64

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for isize

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for u8

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for u16

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for u32

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for u64

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for u128

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<i128> for usize

Source§

fn cast_from(value: i128) -> Self

Source§

impl CastFrom<isize> for f16

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for f32

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for f64

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for f128

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for i8

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for i16

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for i32

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for i64

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for i128

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for u8

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for u16

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for u32

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for u64

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for u128

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<isize> for usize

Source§

fn cast_from(value: isize) -> Self

Source§

impl CastFrom<u8> for char

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for f16

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for f32

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for f64

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for f128

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for i8

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for i16

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for i32

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for i64

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for i128

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for isize

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for u16

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for u32

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for u64

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for u128

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u8> for usize

Source§

fn cast_from(value: u8) -> Self

Source§

impl CastFrom<u16> for f16

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for f32

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for f64

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for f128

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for i8

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for i16

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for i32

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for i64

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for i128

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for isize

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for u8

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for u32

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for u64

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for u128

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u16> for usize

Source§

fn cast_from(value: u16) -> Self

Source§

impl CastFrom<u32> for f16

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for f32

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for f64

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for f128

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for i8

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for i16

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for i32

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for i64

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for i128

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for isize

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for u8

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for u16

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for u64

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for u128

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u32> for usize

Source§

fn cast_from(value: u32) -> Self

Source§

impl CastFrom<u64> for f16

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for f32

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for f64

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for f128

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for i8

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for i16

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for i32

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for i64

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for i128

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for isize

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for u8

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for u16

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for u32

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for u128

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u64> for usize

Source§

fn cast_from(value: u64) -> Self

Source§

impl CastFrom<u128> for f16

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for f32

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for f64

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for f128

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for i8

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for i16

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for i32

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for i64

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for i128

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for isize

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for u8

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for u16

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for u32

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for u64

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<u128> for usize

Source§

fn cast_from(value: u128) -> Self

Source§

impl CastFrom<usize> for f16

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for f32

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for f64

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for f128

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for i8

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for i16

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for i32

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for i64

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for i128

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for isize

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for u8

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for u16

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for u32

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for u64

Source§

fn cast_from(value: usize) -> Self

Source§

impl CastFrom<usize> for u128

Source§

fn cast_from(value: usize) -> Self

Implementors§

Source§

impl<T> CastFrom<T> for T