pub enum GameSCmdData {
None,
TargetPoint(GameSMapCoord3D),
TargetUnit(GameSCmdDataTargetUnit),
Data(u32),
}Variants§
Trait Implementations§
Source§impl ArrowDeserialize for GameSCmdData
impl ArrowDeserialize for GameSCmdData
Source§type ArrayType = GameSCmdDataArray
type ArrayType = GameSCmdDataArray
The
arrow::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 GameSCmdData
impl ArrowField for GameSCmdData
Source§impl ArrowSerialize for GameSCmdData
impl ArrowSerialize for GameSCmdData
Source§type ArrayBuilderType = MutableGameSCmdDataArray
type ArrayBuilderType = MutableGameSCmdDataArray
The
ArrayBuilder that holds this valueSource§fn new_array() -> Self::ArrayBuilderType
fn new_array() -> Self::ArrayBuilderType
Create a new mutable array
Source§fn arrow_serialize(v: &Self, array: &mut Self::ArrayBuilderType) -> Result<()>
fn arrow_serialize(v: &Self, array: &mut Self::ArrayBuilderType) -> Result<()>
Serialize this field to arrow
Source§impl Clone for GameSCmdData
impl Clone for GameSCmdData
Source§fn clone(&self) -> GameSCmdData
fn clone(&self) -> GameSCmdData
Returns a duplicate 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 GameSCmdData
impl Debug for GameSCmdData
Source§impl<'de> Deserialize<'de> for GameSCmdData
impl<'de> Deserialize<'de> for GameSCmdData
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<GameSCmdData> for GameSCmdData
impl From<GameSCmdData> for GameSCmdData
Source§fn from(source: GameSCmdData) -> GameSCmdData
fn from(source: GameSCmdData) -> GameSCmdData
Converts to this type from the input type.
Source§impl From<GameSCmdData> for SC2UnitCmdData
impl From<GameSCmdData> for SC2UnitCmdData
Source§fn from(event: GameSCmdData) -> Self
fn from(event: GameSCmdData) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GameSCmdData
impl PartialEq for GameSCmdData
Source§impl Serialize for GameSCmdData
impl Serialize for GameSCmdData
impl StructuralPartialEq for GameSCmdData
Auto Trait Implementations§
impl Freeze for GameSCmdData
impl RefUnwindSafe for GameSCmdData
impl Send for GameSCmdData
impl Sync for GameSCmdData
impl Unpin for GameSCmdData
impl UnsafeUnpin for GameSCmdData
impl UnwindSafe for GameSCmdData
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> 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