pub struct Key { /* private fields */ }
Implementations§
Source§impl Key
impl Key
Sourcepub const SCROLLLOCK: Key
pub const SCROLLLOCK: Key
Godot enumerator name: KEY_SCROLLLOCK
Sourcepub const KP_MULTIPLY: Key
pub const KP_MULTIPLY: Key
Godot enumerator name: KEY_KP_MULTIPLY
Sourcepub const KP_SUBTRACT: Key
pub const KP_SUBTRACT: Key
Godot enumerator name: KEY_KP_SUBTRACT
Sourcepub const VOLUMEDOWN: Key
pub const VOLUMEDOWN: Key
Godot enumerator name: KEY_VOLUMEDOWN
Sourcepub const VOLUMEMUTE: Key
pub const VOLUMEMUTE: Key
Godot enumerator name: KEY_VOLUMEMUTE
Sourcepub const MEDIAPREVIOUS: Key
pub const MEDIAPREVIOUS: Key
Godot enumerator name: KEY_MEDIAPREVIOUS
Sourcepub const MEDIARECORD: Key
pub const MEDIARECORD: Key
Godot enumerator name: KEY_MEDIARECORD
Sourcepub const LAUNCHMAIL: Key
pub const LAUNCHMAIL: Key
Godot enumerator name: KEY_LAUNCHMAIL
Sourcepub const LAUNCHMEDIA: Key
pub const LAUNCHMEDIA: Key
Godot enumerator name: KEY_LAUNCHMEDIA
Sourcepub const NUMBERSIGN: Key
pub const NUMBERSIGN: Key
Godot enumerator name: KEY_NUMBERSIGN
Sourcepub const APOSTROPHE: Key
pub const APOSTROPHE: Key
Godot enumerator name: KEY_APOSTROPHE
Sourcepub 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
Sourcepub const BRACKETLEFT: Key
pub const BRACKETLEFT: Key
Godot enumerator name: KEY_BRACKETLEFT
Sourcepub const BRACKETRIGHT: Key
pub const BRACKETRIGHT: Key
Godot enumerator name: KEY_BRACKETRIGHT
Sourcepub const ASCIICIRCUM: Key
pub const ASCIICIRCUM: Key
Godot enumerator name: KEY_ASCIICIRCUM
Sourcepub const UNDERSCORE: Key
pub const UNDERSCORE: Key
Godot enumerator name: KEY_UNDERSCORE
Sourcepub const BRACERIGHT: Key
pub const BRACERIGHT: Key
Godot enumerator name: KEY_BRACERIGHT
Sourcepub const ASCIITILDE: Key
pub const ASCIITILDE: Key
Godot enumerator name: KEY_ASCIITILDE
Trait Implementations§
Source§impl BitOr<Key> for KeyModifierMask
impl BitOr<Key> for KeyModifierMask
Source§impl BitOr<KeyModifierMask> for Key
impl BitOr<KeyModifierMask> for Key
Source§impl BitOrAssign<KeyModifierMask> for Key
impl BitOrAssign<KeyModifierMask> for Key
Source§fn bitor_assign(&mut self, rhs: KeyModifierMask)
fn bitor_assign(&mut self, rhs: KeyModifierMask)
Performs the
|=
operation. Read moreSource§impl EngineEnum for Key
impl EngineEnum for Key
Source§impl FromGodot for Key
impl FromGodot for Key
Source§fn try_from_godot(via: Self::Via) -> Result<Self, ConvertError>
fn try_from_godot(via: Self::Via) -> Result<Self, ConvertError>
Converts the Godot representation to this type, returning
Err
on failure.Source§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
Source§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.Source§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
⚠️ Performs the conversion from a [
Variant
]. Read moreSource§impl GodotConvert for Key
impl GodotConvert for Key
Source§impl ToGodot for Key
impl ToGodot for Key
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