Struct elrond_wasm::abi::TypeDescription
source · pub struct TypeDescription {
pub docs: &'static [&'static str],
pub name: String,
pub contents: TypeContents,
}
Fields§
§docs: &'static [&'static str]
§name: String
§contents: TypeContents
Implementations§
source§impl TypeDescription
impl TypeDescription
sourcepub const PLACEHOLDER: TypeDescription = _
pub const PLACEHOLDER: TypeDescription = _
Used as temporary value. To avoid an infinite loop for recursive types, we must reserve the type key (type name) before computing its fields. We use this as value while the fields are being computed.
Trait Implementations§
source§impl Clone for TypeDescription
impl Clone for TypeDescription
source§fn clone(&self) -> TypeDescription
fn clone(&self) -> TypeDescription
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more