Struct peppi::model::frame::Post[][src]

pub struct Post {
Show 20 fields pub character: Internal, pub state: State, pub position: Position, pub direction: Direction, pub damage: f32, pub shield: f32, pub last_attack_landed: Option<Attack>, pub combo_count: u8, pub last_hit_by: Option<Port>, pub stocks: u8, pub state_age: Option<f32>, pub flags: Option<StateFlags>, pub misc_as: Option<f32>, pub airborne: Option<bool>, pub ground: Option<Ground>, pub jumps: Option<u8>, pub l_cancel: Option<Option<bool>>, pub hurtbox_state: Option<HurtboxState>, pub velocities: Option<Velocities>, pub hitlag: Option<f32>,
}
Expand description

Post-frame update data, for computing stats etc.

Collected at the end of collision detection, the last consideration of the game engine.

Fields

character: Internal

in-game character (can only change for Zelda/Sheik)

state: State

action state (very useful for stats)

position: Positiondirection: Directiondamage: f32

damage percent

shield: f32

shield size

last_attack_landed: Option<Attack>combo_count: u8last_hit_by: Option<Port>stocks: u8

stocks remaining

state_age: Option<f32>flags: Option<StateFlags>misc_as: Option<f32>

used for multiple things, including hitstun frames remaining

airborne: Option<bool>ground: Option<Ground>

ground the character is standing on, if any

jumps: Option<u8>

jumps remaining

l_cancel: Option<Option<bool>>

true = successful L-Cancel

hurtbox_state: Option<HurtboxState>velocities: Option<Velocities>hitlag: Option<f32>

hitlag remaining

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.