Struct Key
pub struct Key { /* private fields */ }
Implementations§
§impl Key
impl Key
pub const SCROLLLOCK: Key = _
pub const SCROLLLOCK: Key = _
Godot enumerator name: KEY_SCROLLLOCK
pub const KP_MULTIPLY: Key = _
pub const KP_MULTIPLY: Key = _
Godot enumerator name: KEY_KP_MULTIPLY
pub const KP_SUBTRACT: Key = _
pub const KP_SUBTRACT: Key = _
Godot enumerator name: KEY_KP_SUBTRACT
pub const VOLUMEDOWN: Key = _
pub const VOLUMEDOWN: Key = _
Godot enumerator name: KEY_VOLUMEDOWN
pub const VOLUMEMUTE: Key = _
pub const VOLUMEMUTE: Key = _
Godot enumerator name: KEY_VOLUMEMUTE
pub const MEDIAPREVIOUS: Key = _
pub const MEDIAPREVIOUS: Key = _
Godot enumerator name: KEY_MEDIAPREVIOUS
pub const MEDIARECORD: Key = _
pub const MEDIARECORD: Key = _
Godot enumerator name: KEY_MEDIARECORD
pub const LAUNCHMAIL: Key = _
pub const LAUNCHMAIL: Key = _
Godot enumerator name: KEY_LAUNCHMAIL
pub const LAUNCHMEDIA: Key = _
pub const LAUNCHMEDIA: Key = _
Godot enumerator name: KEY_LAUNCHMEDIA
pub const NUMBERSIGN: Key = _
pub const NUMBERSIGN: Key = _
Godot enumerator name: KEY_NUMBERSIGN
pub const APOSTROPHE: Key = _
pub const APOSTROPHE: Key = _
Godot enumerator name: KEY_APOSTROPHE
pub const PARENRIGHT: Key = _
pub const PARENRIGHT: Key = _
Godot enumerator name: KEY_PARENRIGHT
pub const KEY_0: Key = _
pub const KEY_1: Key = _
pub const KEY_2: Key = _
pub const KEY_3: Key = _
pub const KEY_4: Key = _
pub const KEY_5: Key = _
pub const KEY_6: Key = _
pub const KEY_7: Key = _
pub const KEY_8: Key = _
pub const KEY_9: Key = _
pub const BRACKETLEFT: Key = _
pub const BRACKETLEFT: Key = _
Godot enumerator name: KEY_BRACKETLEFT
pub const BRACKETRIGHT: Key = _
pub const BRACKETRIGHT: Key = _
Godot enumerator name: KEY_BRACKETRIGHT
pub const ASCIICIRCUM: Key = _
pub const ASCIICIRCUM: Key = _
Godot enumerator name: KEY_ASCIICIRCUM
pub const UNDERSCORE: Key = _
pub const UNDERSCORE: Key = _
Godot enumerator name: KEY_UNDERSCORE
pub const BRACERIGHT: Key = _
pub const BRACERIGHT: Key = _
Godot enumerator name: KEY_BRACERIGHT
pub const ASCIITILDE: Key = _
pub const ASCIITILDE: Key = _
Godot enumerator name: KEY_ASCIITILDE
Trait Implementations§
§impl BitOr<Key> for KeyModifierMask
impl BitOr<Key> for KeyModifierMask
§impl BitOr<KeyModifierMask> for Key
impl BitOr<KeyModifierMask> for Key
§impl BitOrAssign<KeyModifierMask> for Key
impl BitOrAssign<KeyModifierMask> for Key
§fn bitor_assign(&mut self, rhs: KeyModifierMask)
fn bitor_assign(&mut self, rhs: KeyModifierMask)
Performs the
|=
operation. Read more§impl EngineEnum for Key
impl EngineEnum for Key
§impl FromGodot for Key
impl FromGodot for Key
§fn try_from_godot(via: <Key as GodotConvert>::Via) -> Result<Key, ConvertError>
fn try_from_godot(via: <Key as GodotConvert>::Via) -> Result<Key, ConvertError>
Converts the Godot representation to this type, returning
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
impl Copy for Key
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)