Skip to main content

FloatTypeInterface

Trait FloatTypeInterface 

Source
pub trait FloatTypeInterface: Type {
    // Required method
    fn get_semantics(&self) -> Semantics;
}
Expand description

Types that represent floating point numbers.

Required Methods§

Source

fn get_semantics(&self) -> Semantics

Returns the semantics of the float type.

Trait Implementations§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§