Skip to main content

ToHost

Trait ToHost 

Source
pub trait ToHost {
    type HostFloat;

    // Required method
    fn to_host(self) -> Self::HostFloat;
}
Expand description

Convert a softfloat type to its corresponding hostfloat type.

Required Associated Types§

Required Methods§

Source

fn to_host(self) -> Self::HostFloat

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ToHost for Double

Source§

impl ToHost for Half

Source§

impl ToHost for Single

Implementors§