Struct consecuit::construction::hook::HookConstruction[][src]

pub struct HookConstruction<CurrentStores: StoresList, EntireStores: StoresList> { /* fields omitted */ }
Expand description

This is the consecuit or cc object in your hook function.

You can use it to call other hooks.

You must return it at the end of your hook function. (See the doc at crate on how to write hooks).

Implementations

Use the given hook, with the given arg.

Consumes self. Returns a tuple of (cc, <return value of hook>). You can use the returned cc to call more hooks.

See the docs at crate for more info on how to write and use hooks.

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.

Should always be Self

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.