Struct hltas::types::MovementKeys
source · pub struct MovementKeys {
pub forward: bool,
pub left: bool,
pub right: bool,
pub back: bool,
pub up: bool,
pub down: bool,
}
Expand description
Manually specified movement keys.
Fields§
§forward: bool
+forward
left: bool
+moveleft
right: bool
+moveright
back: bool
+back
up: bool
+moveup
down: bool
+movedown
Trait Implementations§
source§impl Clone for MovementKeys
impl Clone for MovementKeys
source§fn clone(&self) -> MovementKeys
fn clone(&self) -> MovementKeys
Returns a copy 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 moresource§impl Debug for MovementKeys
impl Debug for MovementKeys
source§impl Default for MovementKeys
impl Default for MovementKeys
source§fn default() -> MovementKeys
fn default() -> MovementKeys
Returns the “default value” for a type. Read more
source§impl PartialEq<MovementKeys> for MovementKeys
impl PartialEq<MovementKeys> for MovementKeys
source§fn eq(&self, other: &MovementKeys) -> bool
fn eq(&self, other: &MovementKeys) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MovementKeys
impl Eq for MovementKeys
impl StructuralEq for MovementKeys
impl StructuralPartialEq for MovementKeys
Auto Trait Implementations§
impl RefUnwindSafe for MovementKeys
impl Send for MovementKeys
impl Sync for MovementKeys
impl Unpin for MovementKeys
impl UnwindSafe for MovementKeys
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