pub struct ComponentDefinedTypeEncoder<'a>(_);
Expand description

Used for encoding component defined types.

Implementations

Define a primitive value type.

Define a record type.

Define a variant type.

Define a list type.

Define a tuple type.

Define a flags type.

Define an enum type.

Define a union type.

Define an option type.

Define a result type.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.