Skip to main content

CMapFrom

Trait CMapFrom 

Source
pub trait CMapFrom<In> {
    // Required method
    fn c_map_from(value: In) -> Self;
}

Required Methods§

Source

fn c_map_from(value: In) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl CMapFrom<bool> for bool

Source§

fn c_map_from(value: bool) -> Self

Source§

impl CMapFrom<f32> for f32

Source§

fn c_map_from(value: f32) -> Self

Source§

impl CMapFrom<f64> for f64

Source§

fn c_map_from(value: f64) -> Self

Source§

impl CMapFrom<i32> for bool

Source§

fn c_map_from(value: i32) -> Self

Source§

impl CMapFrom<i32> for i32

Source§

fn c_map_from(value: i32) -> Self

Source§

impl CMapFrom<i64> for i64

Source§

fn c_map_from(value: i64) -> Self

Source§

impl CMapFrom<u64> for u64

Source§

fn c_map_from(value: u64) -> Self

Source§

impl CMapFrom<usize> for usize

Source§

fn c_map_from(value: usize) -> Self

Implementors§