pub struct SetStunned {
Show 18 fields pub originator: ObjId, pub state_change_type: StunState, pub cant_attack: bool, pub cant_attack_out_change_was_applied: bool, pub cant_equip: bool, pub cant_equip_out_change_was_applied: bool, pub cant_interact: bool, pub cant_interact_out_change_was_applied: bool, pub cant_jump: bool, pub cant_jump_out_change_was_applied: bool, pub cant_move: bool, pub cant_move_out_change_was_applied: bool, pub cant_turn: bool, pub cant_turn_out_change_was_applied: bool, pub cant_use_item: bool, pub cant_use_item_out_change_was_applied: bool, pub dont_terminate_interact: bool, pub ignore_immunity: bool,
}

Fields

originator: ObjIdstate_change_type: StunStatecant_attack: boolcant_attack_out_change_was_applied: boolcant_equip: boolcant_equip_out_change_was_applied: boolcant_interact: boolcant_interact_out_change_was_applied: boolcant_jump: boolcant_jump_out_change_was_applied: boolcant_move: boolcant_move_out_change_was_applied: boolcant_turn: boolcant_turn_out_change_was_applied: boolcant_use_item: boolcant_use_item_out_change_was_applied: booldont_terminate_interact: boolignore_immunity: bool

Trait Implementations

Formats the value using the given formatter. Read more
Deserializes the type by reading from the reader.
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serializes the type by writing to the writer.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.