Trait UncheckedConv

Source
pub trait UncheckedConv<F>
where Self: Sized,
{ // Required methods fn as_raw(self) -> F; fn from_raw(_: F) -> Self; // Provided method fn map<C: Fn(F) -> F>(self, c: C) -> Self { ... } }

Required Methods§

Source

fn as_raw(self) -> F

Source

fn from_raw(_: F) -> Self

Provided Methods§

Source

fn map<C: Fn(F) -> F>(self, c: C) -> Self

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.

Implementors§

Source§

impl<F: Float> UncheckedConv<F> for Dirty<F>

Source§

impl<F: Float> UncheckedConv<F> for Fin<F>

Source§

impl<F: Float> UncheckedConv<F> for F