Struct brawllib_rs::script_ast::SpecialHitBoxArguments
source · pub struct SpecialHitBoxArguments {Show 30 fields
pub hitbox_args: HitBoxArguments,
pub rehit_rate: i32,
pub angle_flipping: AngleFlip,
pub unk1: bool,
pub stretches_to_bone: bool,
pub unk2: 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 unk3: u8,
pub can_be_shielded: bool,
pub can_be_reflected: bool,
pub can_be_absorbed: bool,
pub unk4: u8,
pub remain_grabbed: bool,
pub ignore_invincibility: bool,
pub freeze_frame_disable: bool,
pub unk5: bool,
pub flinchless: bool,
}
Fields§
§hitbox_args: HitBoxArguments
§rehit_rate: i32
§angle_flipping: AngleFlip
§unk1: bool
§stretches_to_bone: bool
§unk2: bool
§can_hit1: bool
Can hit fighters, waddle dee/doo and pikmin
can_hit2: bool
Can hit SSE enemies
can_hit3: bool
Unk
can_hit4: bool
Can hit ROB Gyro, Snake grenade and Mr Saturn
can_hit5: bool
Unk
can_hit6: bool
Unk
can_hit7: bool
Can hit Stage hurtboxes not including wall/ceiling/floor
can_hit8: bool
Can hit wall/ceiling/floor
can_hit9: bool
Link & Toon Link Bomb, Bob-omb
can_hit10: bool
Unk
can_hit11: bool
Link & Toon Link Bomb, Bob-omb, ROB Gyro, Snake grenade, Bob-omb, Mr Saturn, All Stage related hurtboxes?
can_hit12: bool
Waddle Dee/Doo pikmin
can_hit13: bool
Unk
enabled: bool
§unk3: u8
§can_be_shielded: bool
§can_be_reflected: bool
§can_be_absorbed: bool
§unk4: u8
§remain_grabbed: bool
§ignore_invincibility: bool
§freeze_frame_disable: bool
§unk5: bool
§flinchless: bool
Trait Implementations§
source§impl Clone for SpecialHitBoxArguments
impl Clone for SpecialHitBoxArguments
source§fn clone(&self) -> SpecialHitBoxArguments
fn clone(&self) -> SpecialHitBoxArguments
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 SpecialHitBoxArguments
impl Debug for SpecialHitBoxArguments
source§impl<'de> Deserialize<'de> for SpecialHitBoxArguments
impl<'de> Deserialize<'de> for SpecialHitBoxArguments
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
Auto Trait Implementations§
impl RefUnwindSafe for SpecialHitBoxArguments
impl Send for SpecialHitBoxArguments
impl Sync for SpecialHitBoxArguments
impl Unpin for SpecialHitBoxArguments
impl UnwindSafe for SpecialHitBoxArguments
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.