Struct brawllib_rs::sakurai::fighter_data::FighterAttributes
source · pub struct FighterAttributes {Show 89 fields
pub walk_init_vel: f32,
pub walk_acc: f32,
pub walk_max_vel: f32,
pub ground_friction: f32,
pub dash_init_vel: f32,
pub dash_run_acc_a: f32,
pub dash_run_acc_b: f32,
pub dash_run_term_vel: f32,
pub grounded_max_x_vel: f32,
pub dash_cancel_frame_window: i32,
pub guard_on_max_momentum: f32,
pub jump_squat_frames: i32,
pub jump_x_init_vel: f32,
pub jump_y_init_vel: f32,
pub jump_x_vel_ground_mult: f32,
pub jump_x_init_term_vel: f32,
pub jump_y_init_vel_short: f32,
pub air_jump_x_mult: f32,
pub air_jump_y_mult: f32,
pub footstool_init_vel: f32,
pub footstool_init_vel_short: f32,
pub meteor_cancel_delay: f32,
pub num_jumps: u32,
pub gravity: f32,
pub term_vel: f32,
pub air_friction_y: f32,
pub air_y_term_vel: f32,
pub air_mobility_a: f32,
pub air_mobility_b: f32,
pub air_x_term_vel: f32,
pub air_friction_x: f32,
pub fastfall_velocity: f32,
pub air_x_term_vel_hard: f32,
pub glide_frame_window: u32,
pub jab2_window: f32,
pub jab3_window: f32,
pub ftilt2_window: f32,
pub ftilt3_window: f32,
pub fsmash2_window: f32,
pub flip_dir_frame: f32,
pub weight: f32,
pub size: f32,
pub results_screen_size: f32,
pub shield_size: f32,
pub shield_break_vel: f32,
pub shield_strength: f32,
pub respawn_platform_size: f32,
pub edge_jump_x_vel: f32,
pub edge_jump_y_vel: f32,
pub item_throw_strength: f32,
pub projectile_item_move_speed: f32,
pub projectile_item_move_speed_dash_f: f32,
pub projectile_item_move_speed_dash_b: f32,
pub light_landing_lag: f32,
pub normal_landing_lag: f32,
pub nair_landing_lag: f32,
pub fair_landing_lag: f32,
pub bair_landing_lag: f32,
pub uair_landing_lag: f32,
pub dair_landing_lag: f32,
pub term_vel_hard_frames: u32,
pub hip_n_bone: u32,
pub tag_height_value: f32,
pub walljump_x_vel: f32,
pub walljump_y_vel: f32,
pub lhand_n_bone: u32,
pub rhand_n_bone: u32,
pub water_y_acc: f32,
pub spit_star_size: f32,
pub spit_star_damage: u32,
pub egg_size: f32,
pub hip_n_bone2: u32,
pub x_rot_n_bone: u32,
pub camera_initial_y_offset: f32,
pub camera_size_front: f32,
pub camera_size_back: f32,
pub camera_size_top: f32,
pub camera_size_bottom: f32,
pub zoom_camera_size_front: f32,
pub zoom_camera_size_back: f32,
pub zoom_camera_size_top: f32,
pub zoom_camera_size_bottom: f32,
pub head_n_bone: u32,
pub pause_camera_zoom_distance: f32,
pub magnifying_glass_size: f32,
pub weight_dependent_throw_down: bool,
pub weight_dependent_throw_up: bool,
pub weight_dependent_throw_forward: bool,
pub weight_dependent_throw_backward: bool,
}
Fields§
§walk_init_vel: f32
§walk_acc: f32
§walk_max_vel: f32
§ground_friction: f32
§dash_init_vel: f32
§dash_run_acc_a: f32
§dash_run_acc_b: f32
§dash_run_term_vel: f32
§grounded_max_x_vel: f32
§dash_cancel_frame_window: i32
§guard_on_max_momentum: f32
§jump_squat_frames: i32
§jump_x_init_vel: f32
§jump_y_init_vel: f32
§jump_x_vel_ground_mult: f32
§jump_x_init_term_vel: f32
§jump_y_init_vel_short: f32
§air_jump_x_mult: f32
§air_jump_y_mult: f32
§footstool_init_vel: f32
§footstool_init_vel_short: f32
§meteor_cancel_delay: f32
§num_jumps: u32
§gravity: f32
§term_vel: f32
§air_friction_y: f32
§air_y_term_vel: f32
§air_mobility_a: f32
§air_mobility_b: f32
§air_x_term_vel: f32
§air_friction_x: f32
§fastfall_velocity: f32
§air_x_term_vel_hard: f32
§glide_frame_window: u32
§jab2_window: f32
§jab3_window: f32
§ftilt2_window: f32
§ftilt3_window: f32
§fsmash2_window: f32
§flip_dir_frame: f32
§weight: f32
§size: f32
§results_screen_size: f32
§shield_size: f32
§shield_break_vel: f32
§shield_strength: f32
§respawn_platform_size: f32
§edge_jump_x_vel: f32
§edge_jump_y_vel: f32
§item_throw_strength: f32
§projectile_item_move_speed: f32
§projectile_item_move_speed_dash_f: f32
§projectile_item_move_speed_dash_b: f32
§light_landing_lag: f32
§normal_landing_lag: f32
§nair_landing_lag: f32
§fair_landing_lag: f32
§bair_landing_lag: f32
§uair_landing_lag: f32
§dair_landing_lag: f32
§term_vel_hard_frames: u32
§hip_n_bone: u32
§tag_height_value: f32
§walljump_x_vel: f32
§walljump_y_vel: f32
§lhand_n_bone: u32
§rhand_n_bone: u32
§water_y_acc: f32
§spit_star_size: f32
§spit_star_damage: u32
§egg_size: f32
§hip_n_bone2: u32
§x_rot_n_bone: u32
§camera_initial_y_offset: f32
§camera_size_front: f32
§camera_size_back: f32
§camera_size_top: f32
§camera_size_bottom: f32
§zoom_camera_size_front: f32
§zoom_camera_size_back: f32
§zoom_camera_size_top: f32
§zoom_camera_size_bottom: f32
§head_n_bone: u32
§pause_camera_zoom_distance: f32
§magnifying_glass_size: f32
§weight_dependent_throw_down: bool
§weight_dependent_throw_up: bool
§weight_dependent_throw_forward: bool
§weight_dependent_throw_backward: bool
Trait Implementations§
source§impl Clone for FighterAttributes
impl Clone for FighterAttributes
source§fn clone(&self) -> FighterAttributes
fn clone(&self) -> FighterAttributes
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 FighterAttributes
impl Debug for FighterAttributes
Auto Trait Implementations§
impl RefUnwindSafe for FighterAttributes
impl Send for FighterAttributes
impl Sync for FighterAttributes
impl Unpin for FighterAttributes
impl UnwindSafe for FighterAttributes
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.