Struct arcdps_imgui::PassthroughCallback
source · 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§
source§impl InputTextCallbackHandler for PassthroughCallback
impl InputTextCallbackHandler for PassthroughCallback
source§fn char_filter(&mut self, c: u16) -> Option<u16>
fn char_filter(&mut self, c: u16) -> Option<u16>
Filters a char – returning a
None
means that the char is removed,
and returning another char substitutes it out. Read moresource§fn on_completion(&mut self, _: TextCallbackData)
fn on_completion(&mut self, _: TextCallbackData)
Allows one to perform autocompletion work when the Tab key has been pressed. Read more
source§fn on_edit(&mut self, _: TextCallbackData)
fn on_edit(&mut self, _: TextCallbackData)
Allows one to edit the inner buffer whenever the buffer has been changed. Read more
source§fn on_history(&mut self, _: HistoryDirection, _: TextCallbackData)
fn on_history(&mut self, _: HistoryDirection, _: TextCallbackData)
A callback when one of the direction keys have been pressed. Read more
source§fn on_always(&mut self, _: TextCallbackData)
fn on_always(&mut self, _: TextCallbackData)
A callback which will always fire, each tick. Read more
Auto Trait Implementations§
impl Freeze for PassthroughCallback
impl RefUnwindSafe for PassthroughCallback
impl Send for PassthroughCallback
impl Sync for PassthroughCallback
impl Unpin for PassthroughCallback
impl UnwindSafe for PassthroughCallback
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more