Two

Trait Two 

Source
pub trait Two: Sized {
    // Required method
    fn two() -> Self;
}

Required Methods§

Source

fn two() -> 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.

Implementations on Foreign Types§

Source§

impl Two for f32

Source§

fn two() -> Self

Source§

impl Two for f64

Source§

fn two() -> Self

Implementors§