Trait multiversx_sc::abi::TypeDescriptionContainer

source ·
pub trait TypeDescriptionContainer {
    // Required methods
    fn new() -> Self;
    fn contains_type(&self, type_name: &str) -> bool;
    fn insert(
        &mut self,
        type_names: TypeNames,
        type_description: TypeDescription
    );
    fn insert_all(&mut self, other: &Self);

    // Provided method
    fn reserve_type_name(&mut self, type_names: TypeNames) { ... }
}

Required Methods§

source

fn new() -> Self

source

fn contains_type(&self, type_name: &str) -> bool

source

fn insert(&mut self, type_names: TypeNames, type_description: TypeDescription)

source

fn insert_all(&mut self, other: &Self)

Provided Methods§

source

fn reserve_type_name(&mut self, type_names: TypeNames)

Object Safety§

This trait is not object safe.

Implementors§