Enum basalt::input::InputHookCtrl
source · [−]pub enum InputHookCtrl {
Retain,
RetainNoPass,
Remove,
RemoveNoPass,
}
Expand description
Controls what happens after the hook method is called.
Variants
Retain
Retain the hook and pass then events.
RetainNoPass
Same as Retain
, but will not pass event onto next hook.
Notes
- If this hook doesn’t have a weight this is the same as
Retain
.
Remove
Remove the hook
RemoveNoPass
Remove the hook and pass the event onto the next hook.
Notes
- If this hook doesn’t have a weight this is the same as
Remove
.
Trait Implementations
sourceimpl Clone for InputHookCtrl
impl Clone for InputHookCtrl
sourcefn clone(&self) -> InputHookCtrl
fn clone(&self) -> InputHookCtrl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InputHookCtrl
impl Debug for InputHookCtrl
sourceimpl Default for InputHookCtrl
impl Default for InputHookCtrl
sourcefn default() -> InputHookCtrl
fn default() -> InputHookCtrl
Returns the “default value” for a type. Read more
sourceimpl PartialEq<InputHookCtrl> for InputHookCtrl
impl PartialEq<InputHookCtrl> for InputHookCtrl
sourcefn eq(&self, other: &InputHookCtrl) -> bool
fn eq(&self, other: &InputHookCtrl) -> bool
impl Copy for InputHookCtrl
impl Eq for InputHookCtrl
impl StructuralEq for InputHookCtrl
impl StructuralPartialEq for InputHookCtrl
Auto Trait Implementations
impl RefUnwindSafe for InputHookCtrl
impl Send for InputHookCtrl
impl Sync for InputHookCtrl
impl Unpin for InputHookCtrl
impl UnwindSafe for InputHookCtrl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_big_endian()
.sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_native_endian()
.