snarkvm_console_network

Trait TypeName

Source
pub trait TypeName {
    // Required method
    fn type_name() -> &'static str;
}

Required Methods§

Source

fn type_name() -> &'static str

Returns the type name of the object as a string. (i.e. “u8”)

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<E> TypeName for Boolean<E>
where E: Environment,

Source§

fn type_name() -> &'static str

Returns the type name as a string.

Source§

impl<E> TypeName for Field<E>
where E: Environment,

Source§

fn type_name() -> &'static str

Returns the type name as a string.

Source§

impl<E> TypeName for Group<E>
where E: Environment,

Source§

fn type_name() -> &'static str

Returns the type name as a string.

Source§

impl<E> TypeName for Scalar<E>
where E: Environment,

Source§

fn type_name() -> &'static str

Returns the type name as a string.

Source§

impl<E, I> TypeName for Integer<E, I>
where E: Environment, I: IntegerType,

Source§

fn type_name() -> &'static str

Returns the type name as a string.

Implementors§