Struct dharitri_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: TypeContentsImplementations§
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 moreAuto Trait Implementations§
impl RefUnwindSafe for TypeDescription
impl Send for TypeDescription
impl Sync for TypeDescription
impl Unpin for TypeDescription
impl UnwindSafe for TypeDescription
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more