Struct spirit::fragment::driver::RefDriver[][src]

pub struct RefDriver<Inner>(_);
Expand description

An adaptor Driver for references.

This is used behind the scenes to wrap a driver for F to create a driver for &F.

Implementations

Creates the driver.

It is available to support also drivers that are provided and created by the user. Usually, the Default implementation is used within the Fragment.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The smaller Fragment the driver cuts F into. Read more

Issues the instructions how to transition to the new fragment. Read more

Call to this method informs the Driver that the instructions returned by the last call to instructions were followed and the changes have taken place. Read more

Call to this method informs the Driver that the instructions returned by the last call to instructions were not followed and were dropped. Read more

Informs if there’s a chance the new fragment will use something in the Driver’s cache if applied. 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

Performs the conversion.

Performs the conversion.

Turns self into the result.

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.