Struct argdata::ArgdataRef

source ·
pub struct ArgdataRef<'a, 'd: 'a> { /* private fields */ }
Expand description

A reference to an argdata value. Either a substring of an encoded argdata value, or just a &Argdata.

Implementations

Create an ArgdataRef that refers to a substring of an encoded argdata value.

Create an ArgdataRef that simply refers to something that implements Argdata.

Trait Implementations

Formats the value using the given formatter. Read more
The resulting type after dereferencing.
Dereferences the value.

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.