Skip to main content

Element

Trait Element 

Source
pub trait Element: Default {
    // Required method
    fn get_type(x: Self) -> ElemType;
}

Required Methods§

Source

fn get_type(x: Self) -> ElemType

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.

Implementations on Foreign Types§

Source§

impl Element for f64

Source§

fn get_type(x: Self) -> ElemType

Source§

impl Element for f64x2

Source§

fn get_type(x: Self) -> ElemType

Source§

impl Element for f64x4

Source§

fn get_type(x: Self) -> ElemType

Implementors§