Trait WrapInto

Source
pub trait WrapInto<T> {
    // Required method
    fn wrap_into(self) -> T;
}
Expand description

Convert one type to another by wrapping.

Required Methods§

Source

fn wrap_into(self) -> T

Convert one type to another by wrapping.

Implementations on Foreign Types§

Source§

impl WrapInto<f32> for f64

Source§

impl WrapInto<i8> for i32

Source§

fn wrap_into(self) -> i8

Source§

impl WrapInto<i8> for i64

Source§

fn wrap_into(self) -> i8

Source§

impl WrapInto<i16> for i32

Source§

impl WrapInto<i16> for i64

Source§

impl WrapInto<i32> for i64

Source§

impl WrapInto<F32> for i64

Source§

impl WrapInto<F32> for u64

Implementors§