pub struct HitBoxValues {Show 44 fields
pub hitbox_id: u8,
pub set_id: u8,
pub damage: f32,
pub trajectory: i32,
pub wdsk: i16,
pub kbg: i16,
pub shield_damage: i16,
pub bkb: i16,
pub size: f32,
pub tripping_rate: f32,
pub hitlag_mult: f32,
pub sdi_mult: f32,
pub effect: HitBoxEffect,
pub sound_level: u8,
pub sound: HitBoxSound,
pub ground: bool,
pub aerial: bool,
pub sse_type: HitBoxSseType,
pub clang: bool,
pub direct: bool,
pub rehit_rate: i32,
pub angle_flipping: AngleFlip,
pub stretches_to_bone: bool,
pub can_hit1: bool,
pub can_hit2: bool,
pub can_hit3: bool,
pub can_hit4: bool,
pub can_hit5: bool,
pub can_hit6: bool,
pub can_hit7: bool,
pub can_hit8: bool,
pub can_hit9: bool,
pub can_hit10: bool,
pub can_hit11: bool,
pub can_hit12: bool,
pub can_hit13: bool,
pub enabled: bool,
pub can_be_shielded: bool,
pub can_be_reflected: bool,
pub can_be_absorbed: bool,
pub remain_grabbed: bool,
pub ignore_invincibility: bool,
pub freeze_frame_disable: bool,
pub flinchless: bool,
}Fields§
§hitbox_id: u8§set_id: u8§damage: f32§trajectory: i32§wdsk: i16§kbg: i16§shield_damage: i16§bkb: i16§size: f32§tripping_rate: f32§hitlag_mult: f32§sdi_mult: f32§effect: HitBoxEffect§sound_level: u8§sound: HitBoxSound§ground: bool§aerial: bool§sse_type: HitBoxSseType§clang: bool§direct: bool§rehit_rate: i32§angle_flipping: AngleFlip§stretches_to_bone: bool§can_hit1: bool§can_hit2: bool§can_hit3: bool§can_hit4: bool§can_hit5: bool§can_hit6: bool§can_hit7: bool§can_hit8: bool§can_hit9: bool§can_hit10: bool§can_hit11: bool§can_hit12: bool§can_hit13: bool§enabled: bool§can_be_shielded: bool§can_be_reflected: bool§can_be_absorbed: bool§remain_grabbed: bool§ignore_invincibility: bool§freeze_frame_disable: bool§flinchless: boolImplementations§
Source§impl HitBoxValues
impl HitBoxValues
pub fn can_hit_fighter(&self) -> bool
pub fn can_hit_waddle_dee_doo(&self) -> bool
pub fn can_hit_pikmin(&self) -> bool
pub fn can_hit_sse(&self) -> bool
pub fn can_hit_gyro(&self) -> bool
pub fn can_hit_snake_grenade(&self) -> bool
pub fn can_hit_mr_saturn(&self) -> bool
pub fn can_hit_stage_non_wall_ceiling_floor(&self) -> bool
pub fn can_hit_wall_ceiling_floor(&self) -> bool
pub fn can_hit_link_bomb(&self) -> bool
pub fn can_hit_bobomb(&self) -> bool
Trait Implementations§
Source§impl Clone for HitBoxValues
impl Clone for HitBoxValues
Source§fn clone(&self) -> HitBoxValues
fn clone(&self) -> HitBoxValues
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HitBoxValues
impl Debug for HitBoxValues
Source§impl<'de> Deserialize<'de> for HitBoxValues
impl<'de> Deserialize<'de> for HitBoxValues
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HitBoxValues
impl PartialEq for HitBoxValues
Source§fn eq(&self, other: &HitBoxValues) -> bool
fn eq(&self, other: &HitBoxValues) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HitBoxValues
impl Serialize for HitBoxValues
impl StructuralPartialEq for HitBoxValues
Auto Trait Implementations§
impl Freeze for HitBoxValues
impl RefUnwindSafe for HitBoxValues
impl Send for HitBoxValues
impl Sync for HitBoxValues
impl Unpin for HitBoxValues
impl UnsafeUnpin for HitBoxValues
impl UnwindSafe for HitBoxValues
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§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§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.Source§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.Source§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.Source§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.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more