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

Required Methods§

fn type_name() -> &'static str

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

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

§

fn type_name() -> &'static str

Returns the type name as a string.

§

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

§

fn type_name() -> &'static str

Returns the type name as a string.

§

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

§

fn type_name() -> &'static str

Returns the type name as a string.

§

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

§

fn type_name() -> &'static str

Returns the type name as a string.

§

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

§

fn type_name() -> &'static str

Returns the type name as a string.

§

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

§

fn type_name() -> &'static str

Returns the type name as a string.

§

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

§

fn type_name() -> &'static str

Returns the type name as a string.

source§

impl<N> TypeName for Signature<N>
where N: Network,

source§

fn type_name() -> &'static str

Returns the type name as a string.

source§

impl<N> TypeName for RecordType<N>
where N: Network,

source§

fn type_name() -> &'static str

Returns the type name.

source§

impl<N> TypeName for StructType<N>
where N: Network,

source§

fn type_name() -> &'static str

Returns the type name.

Implementors§