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

Wrapper around slice of RuntimeValue for using it as an argument list conveniently.

Implementations

Extract argument by index idx.

Errors

Returns Err if cast is invalid or not enough arguments.

Extract argument as a RuntimeValue by index idx.

Errors

Returns Err if this list has not enough arguments.

Extract argument by index idx.

Panics

Panics if cast is invalid or not enough arguments.

Total number of arguments

Trait Implementations

Performs the conversion.

Formats the value using the given formatter. Read more

Performs the conversion.

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.