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.

Implementors§

§

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

§

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

§

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

§

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

§

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

§

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

§

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

source§

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

source§

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

source§

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