pub struct SimpleScheduler;
Expand description

A very simple RewriteScheduler that runs every rewrite every time.

Using this is basically turning off rule scheduling. It uses the default implementation for all RewriteScheduler methods.

This is not the default scheduler; choose it with the with_scheduler method.

Trait Implementations

Formats the value using the given formatter. Read more

Whether or not the Runner is allowed to say it has saturated. Read more

A hook allowing you to customize rewrite searching behavior. Useful to implement rule management. Read more

A hook allowing you to customize rewrite application behavior. Useful to implement rule management. 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

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.