#[repr(C)]pub struct Key(_);
Implementations
sourceimpl Key
impl Key
pub const fn from(val: u64) -> Self
pub const fn contains(self, other: Self) -> bool
pub const fn get(self) -> u64
pub const fn A() -> Self
pub const fn B() -> Self
pub const fn X() -> Self
pub const fn Y() -> Self
pub const fn LStick() -> Self
pub const fn RStick() -> Self
pub const fn L() -> Self
pub const fn R() -> Self
pub const fn ZL() -> Self
pub const fn ZR() -> Self
pub const fn Plus() -> Self
pub const fn Minus() -> Self
pub const fn Left() -> Self
pub const fn Right() -> Self
pub const fn Up() -> Self
pub const fn Down() -> Self
pub const fn LStickLeft() -> Self
pub const fn LStickUp() -> Self
pub const fn LStickRight() -> Self
pub const fn LStickDown() -> Self
pub const fn RStickLeft() -> Self
pub const fn RStickUp() -> Self
pub const fn RStickRight() -> Self
pub const fn RStickDown() -> Self
pub const fn SLLeft() -> Self
pub const fn SRLeft() -> Self
pub const fn SLRight() -> Self
pub const fn SRRight() -> Self
pub const fn Touch() -> Self
Trait Implementations
sourceimpl BitAndAssign<Key> for Key
impl BitAndAssign<Key> for Key
sourcefn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
Performs the &=
operation. Read more
sourceimpl BitOrAssign<Key> for Key
impl BitOrAssign<Key> for Key
sourcefn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
Performs the |=
operation. Read more
impl Copy for Key
impl Eq for Key
impl StructuralEq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> RequestCommandParameter for T where
T: Copy,
impl<T> RequestCommandParameter for T where
T: Copy,
default fn before_request_write(
_raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
default fn before_send_sync_request(
raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
sourceimpl<T> RequestCommandParameter<T> for T where
T: Copy,
impl<T> RequestCommandParameter<T> for T where
T: Copy,
default fn after_request_read(
ctx: &mut ServerContext<'_>
) -> Result<T, ResultCode>
sourceimpl<T> ResponseCommandParameter for T where
T: Copy,
impl<T> ResponseCommandParameter for T where
T: Copy,
default fn before_response_write(
_raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
default fn after_response_write(
raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
sourceimpl<T> ResponseCommandParameter<T> for T where
T: Copy,
impl<T> ResponseCommandParameter<T> for T where
T: Copy,
default fn after_response_read(
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<T, ResultCode>
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more