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