Trait malachite_base::named::Named

source ·
pub trait Named {
    const NAME: &'static str;
}
Expand description

Defines the name of a type. This is useful for constructing error messages in a generic function.

Required Associated Constants§

source

const NAME: &'static str

The name of Self.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Named for bool

source§

const NAME: &'static str = "bool"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for char

source§

const NAME: &'static str = "char"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for f32

source§

const NAME: &'static str = "f32"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for f64

source§

const NAME: &'static str = "f64"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for i8

source§

const NAME: &'static str = "i8"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for i16

source§

const NAME: &'static str = "i16"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for i32

source§

const NAME: &'static str = "i32"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for i64

source§

const NAME: &'static str = "i64"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for i128

source§

const NAME: &'static str = "i128"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for isize

source§

const NAME: &'static str = "isize"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for u8

source§

const NAME: &'static str = "u8"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for u16

source§

const NAME: &'static str = "u16"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for u32

source§

const NAME: &'static str = "u32"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for u64

source§

const NAME: &'static str = "u64"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for u128

source§

const NAME: &'static str = "u128"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for usize

source§

const NAME: &'static str = "usize"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

source§

impl Named for String

source§

const NAME: &'static str = "String"

The name of this type, as given by the stringify macro.

See the documentation for impl_named for more details.

Implementors§

source§

impl Named for RoundingMode

source§

const NAME: &'static str = "RoundingMode"