#[repr(C)]pub struct InputBindsApi {
pub invoke: RawKeybindInvoke,
pub register_with_string: RawKeybindRegisterWithString,
pub register_with_struct: RawKeybindRegisterWithStruct,
pub deregister: RawKeybindDeregister,
}Fields§
§invoke: RawKeybindInvokeTrigger a keybind programmatically.
register_with_string: RawKeybindRegisterWithStringRegisters a new keybind handler for a given named keybind.
Keybind is a string like "ALT+SHIFT+T.
register_with_struct: RawKeybindRegisterWithStructRegisters a new keybind handler for a given named keybind.
Keybind is a Keybind struct.
deregister: RawKeybindDeregisterRemoves a registered keybind.
Trait Implementations§
Source§impl Clone for InputBindsApi
impl Clone for InputBindsApi
Source§fn clone(&self) -> InputBindsApi
fn clone(&self) -> InputBindsApi
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InputBindsApi
impl RefUnwindSafe for InputBindsApi
impl Send for InputBindsApi
impl Sync for InputBindsApi
impl Unpin for InputBindsApi
impl UnwindSafe for InputBindsApi
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