Struct s2protocol::game_events::GameSCmdDataTargetUnit
source · pub struct GameSCmdDataTargetUnit {
pub m_target_unit_flags: u16,
pub m_timer: u8,
pub m_tag: GameTUnitTag,
pub m_snapshot_unit_link: GameTUnitLink,
pub m_snapshot_control_player_id: Option<GameTPlayerId>,
pub m_snapshot_upkeep_player_id: Option<GameTPlayerId>,
pub m_snapshot_point: GameSMapCoord3D,
}Fields§
§m_target_unit_flags: u16§m_timer: u8§m_tag: GameTUnitTag§m_snapshot_unit_link: GameTUnitLink§m_snapshot_control_player_id: Option<GameTPlayerId>§m_snapshot_upkeep_player_id: Option<GameTPlayerId>§m_snapshot_point: GameSMapCoord3DTrait Implementations§
source§impl ArrowDeserialize for GameSCmdDataTargetUnit
impl ArrowDeserialize for GameSCmdDataTargetUnit
§type ArrayType = GameSCmdDataTargetUnitArray
type ArrayType = GameSCmdDataTargetUnitArray
The
arrow2::Array type corresponding to this fieldsource§fn arrow_deserialize<'a>(v: Option<Self>) -> Option<Self>
fn arrow_deserialize<'a>(v: Option<Self>) -> Option<Self>
Deserialize this field from arrow
source§impl ArrowField for GameSCmdDataTargetUnit
impl ArrowField for GameSCmdDataTargetUnit
source§impl ArrowSerialize for GameSCmdDataTargetUnit
impl ArrowSerialize for GameSCmdDataTargetUnit
§type MutableArrayType = MutableGameSCmdDataTargetUnitArray
type MutableArrayType = MutableGameSCmdDataTargetUnitArray
The
arrow2::array::MutableArray that holds this valuesource§fn new_array() -> Self::MutableArrayType
fn new_array() -> Self::MutableArrayType
Create a new mutable array
source§fn arrow_serialize(v: &Self, array: &mut Self::MutableArrayType) -> Result<()>
fn arrow_serialize(v: &Self, array: &mut Self::MutableArrayType) -> Result<()>
Serialize this field to arrow
source§impl Clone for GameSCmdDataTargetUnit
impl Clone for GameSCmdDataTargetUnit
source§fn clone(&self) -> GameSCmdDataTargetUnit
fn clone(&self) -> GameSCmdDataTargetUnit
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 GameSCmdDataTargetUnit
impl Debug for GameSCmdDataTargetUnit
source§impl<'de> Deserialize<'de> for GameSCmdDataTargetUnit
impl<'de> Deserialize<'de> for GameSCmdDataTargetUnit
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 From<GameSCmdDataTargetUnit> for GameSCmdDataTargetUnit
impl From<GameSCmdDataTargetUnit> for GameSCmdDataTargetUnit
source§fn from(source: GameSCmdDataTargetUnit) -> GameSCmdDataTargetUnit
fn from(source: GameSCmdDataTargetUnit) -> GameSCmdDataTargetUnit
Converts to this type from the input type.
source§impl PartialEq for GameSCmdDataTargetUnit
impl PartialEq for GameSCmdDataTargetUnit
source§fn eq(&self, other: &GameSCmdDataTargetUnit) -> bool
fn eq(&self, other: &GameSCmdDataTargetUnit) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for GameSCmdDataTargetUnit
impl Serialize for GameSCmdDataTargetUnit
impl StructuralPartialEq for GameSCmdDataTargetUnit
Auto Trait Implementations§
impl RefUnwindSafe for GameSCmdDataTargetUnit
impl Send for GameSCmdDataTargetUnit
impl Sync for GameSCmdDataTargetUnit
impl Unpin for GameSCmdDataTargetUnit
impl UnwindSafe for GameSCmdDataTargetUnit
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