#[repr(C)]pub struct GameBindApi {
pub press_async: RawGamebindPressAsync,
pub release_async: RawGamebindReleaseAsync,
pub invoke_async: RawGamebindInvokeAsync,
pub press: RawGamebindPress,
pub release: RawGamebindRelease,
pub is_bound: RawGamebindIsBound,
}Fields§
§press_async: RawGamebindPressAsyncPresses the keys of a given bind.
release_async: RawGamebindReleaseAsyncReleases the keypress of a given bind.
invoke_async: RawGamebindInvokeAsyncSends the keys of a given bind and then releases them after a given duration.
press: RawGamebindPressTPresses the keys of a given bind.
release: RawGamebindReleaseReleases the keypress of a given bind.
is_bound: RawGamebindIsBoundReturns if a given game bind is set.
Trait Implementations§
Source§impl Clone for GameBindApi
impl Clone for GameBindApi
Source§fn clone(&self) -> GameBindApi
fn clone(&self) -> GameBindApi
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 GameBindApi
impl RefUnwindSafe for GameBindApi
impl Send for GameBindApi
impl Sync for GameBindApi
impl Unpin for GameBindApi
impl UnwindSafe for GameBindApi
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