Trait TwentyFour

Source
pub trait TwentyFour: Sized {
    // Required method
    fn twenty_four() -> Self;
}
Expand description

Returns the constant value for the number twenty_four

Required Methods§

Source

fn twenty_four() -> 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 TwentyFour for f32

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for f64

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for i8

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for i16

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for i32

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for i64

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for i128

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for isize

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for u8

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for u16

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for u32

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for u64

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for u128

Source§

fn twenty_four() -> Self

Source§

impl TwentyFour for usize

Source§

fn twenty_four() -> Self

Implementors§