pub struct PassthroughCallback;
Expand description

This is a Zst which implements TextCallbackHandler as a passthrough.

If you do not set a callback handler, this will be used (but will never actually run, since you will not have pass imgui any flags).

Trait Implementations§

Filters a char – returning a None means that the char is removed, and returning another char substitutes it out. Read more
Allows one to perform autocompletion work when the Tab key has been pressed. Read more
Allows one to edit the inner buffer whenever the buffer has been changed. Read more
A callback when one of the direction keys have been pressed. Read more
A callback which will always fire, each tick. 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.