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

pub struct HookBuilder { /* fields omitted */ }
Expand description

The initial consecuit or cc object that every hook takes as first argument.

For more information on how to write hooks, see the docs at crate.

Implementations

This is a shortcut that calls cc.init().hook(...)

It is here so you don’t have to write let cc = cc.init(); at the beginning of every hook function.

See the docs at crate on how to call hooks. See HookConstruction for the actual .hook(...).

Make it ready to call .hook(...). You shouldn’t need this, as we have a shortbut that automatically call it when you call .hook(...).

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.