Struct hltas::types::AutoActions
source · pub struct AutoActions {
pub movement: Option<AutoMovement>,
pub leave_ground_action: Option<LeaveGroundAction>,
pub jump_bug: Option<JumpBug>,
pub duck_before_collision: Option<DuckBeforeCollision>,
pub duck_before_ground: Option<DuckBeforeGround>,
pub duck_when_jump: Option<DuckWhenJump>,
}
Expand description
Automatic actions such as strafing, auto-jump, etc.
Fields§
§movement: Option<AutoMovement>
Yaw angle adjustment and strafing.
leave_ground_action: Option<LeaveGroundAction>
Automatic jumping and ducktapping.
jump_bug: Option<JumpBug>
Automatic jumpbug.
duck_before_collision: Option<DuckBeforeCollision>
Duck right before a non-ground collision would occur.
duck_before_ground: Option<DuckBeforeGround>
Duck before collision with ground would occur.
duck_when_jump: Option<DuckWhenJump>
Duck right before jumping, for example for the long jump module.
Trait Implementations§
source§impl Clone for AutoActions
impl Clone for AutoActions
source§fn clone(&self) -> AutoActions
fn clone(&self) -> AutoActions
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 AutoActions
impl Debug for AutoActions
source§impl Default for AutoActions
impl Default for AutoActions
source§fn default() -> AutoActions
fn default() -> AutoActions
Returns the “default value” for a type. Read more
source§impl PartialEq for AutoActions
impl PartialEq for AutoActions
source§fn eq(&self, other: &AutoActions) -> bool
fn eq(&self, other: &AutoActions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AutoActions
impl StructuralPartialEq for AutoActions
Auto Trait Implementations§
impl Freeze for AutoActions
impl RefUnwindSafe for AutoActions
impl Send for AutoActions
impl Sync for AutoActions
impl Unpin for AutoActions
impl UnwindSafe for AutoActions
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)