snarkvm_console_types_integers

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.

Implementors§

Source§

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

Source§

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

Source§

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

Source§

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