pub enum Tw07GameMsg<'a> {
Show 39 variants
SvMotd(SvMotd<'a>),
SvBroadcast(SvBroadcast<'a>),
SvChat(SvChat<'a>),
SvTeam(SvTeam),
SvKillMsg(SvKillMsg),
SvTuneParams(SvTuneParams),
SvExtraProjectile(SvExtraProjectile),
SvReadyToEnter(SvReadyToEnter),
SvWeaponPickup(SvWeaponPickup),
SvEmoticon(SvEmoticon),
SvVoteClearOptions(SvVoteClearOptions),
SvVoteOptionListAdd(SvVoteOptionListAdd),
SvVoteOptionAdd(SvVoteOptionAdd<'a>),
SvVoteOptionRemove(SvVoteOptionRemove<'a>),
SvVoteSet(SvVoteSet<'a>),
SvVoteStatus(SvVoteStatus),
SvServerSettings(SvServerSettings),
SvClientInfo(SvClientInfo<'a>),
SvGameInfo(SvGameInfo),
SvClientDrop(SvClientDrop<'a>),
SvGameMsg(SvGameMsg),
DeClientEnter(DeClientEnter<'a>),
DeClientLeave(DeClientLeave<'a>),
ClSay(ClSay<'a>),
ClSetTeam(ClSetTeam),
ClSetSpectatorMode(ClSetSpectatorMode),
ClStartInfo(ClStartInfo<'a>),
ClKill(ClKill),
ClReadyChange(ClReadyChange),
ClEmoticon(ClEmoticon),
ClVote(ClVote),
ClCallVote(ClCallVote<'a>),
SvSkinChange(SvSkinChange<'a>),
ClSkinChange(ClSkinChange<'a>),
SvRaceFinish(SvRaceFinish),
SvCheckpoint(SvCheckpoint),
SvCommandInfo(SvCommandInfo<'a>),
SvCommandInfoRemove(SvCommandInfoRemove<'a>),
ClCommand(ClCommand<'a>),
}
Variants§
SvMotd(SvMotd<'a>)
SvBroadcast(SvBroadcast<'a>)
SvChat(SvChat<'a>)
SvTeam(SvTeam)
SvKillMsg(SvKillMsg)
SvTuneParams(SvTuneParams)
SvExtraProjectile(SvExtraProjectile)
SvReadyToEnter(SvReadyToEnter)
SvWeaponPickup(SvWeaponPickup)
SvEmoticon(SvEmoticon)
SvVoteClearOptions(SvVoteClearOptions)
SvVoteOptionListAdd(SvVoteOptionListAdd)
SvVoteOptionAdd(SvVoteOptionAdd<'a>)
SvVoteOptionRemove(SvVoteOptionRemove<'a>)
SvVoteSet(SvVoteSet<'a>)
SvVoteStatus(SvVoteStatus)
SvServerSettings(SvServerSettings)
SvClientInfo(SvClientInfo<'a>)
SvGameInfo(SvGameInfo)
SvClientDrop(SvClientDrop<'a>)
SvGameMsg(SvGameMsg)
DeClientEnter(DeClientEnter<'a>)
DeClientLeave(DeClientLeave<'a>)
ClSay(ClSay<'a>)
ClSetTeam(ClSetTeam)
ClSetSpectatorMode(ClSetSpectatorMode)
ClStartInfo(ClStartInfo<'a>)
ClKill(ClKill)
ClReadyChange(ClReadyChange)
ClEmoticon(ClEmoticon)
ClVote(ClVote)
ClCallVote(ClCallVote<'a>)
SvSkinChange(SvSkinChange<'a>)
ClSkinChange(ClSkinChange<'a>)
SvRaceFinish(SvRaceFinish)
SvCheckpoint(SvCheckpoint)
SvCommandInfo(SvCommandInfo<'a>)
SvCommandInfoRemove(SvCommandInfoRemove<'a>)
ClCommand(ClCommand<'a>)
Implementations§
Trait Implementations§
Source§impl<'a> From<ClCallVote<'a>> for Game<'a>
impl<'a> From<ClCallVote<'a>> for Game<'a>
Source§fn from(i: ClCallVote<'a>) -> Game<'a>
fn from(i: ClCallVote<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<ClEmoticon> for Game<'a>
impl<'a> From<ClEmoticon> for Game<'a>
Source§fn from(i: ClEmoticon) -> Game<'a>
fn from(i: ClEmoticon) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<ClReadyChange> for Game<'a>
impl<'a> From<ClReadyChange> for Game<'a>
Source§fn from(i: ClReadyChange) -> Game<'a>
fn from(i: ClReadyChange) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<ClSetSpectatorMode> for Game<'a>
impl<'a> From<ClSetSpectatorMode> for Game<'a>
Source§fn from(i: ClSetSpectatorMode) -> Game<'a>
fn from(i: ClSetSpectatorMode) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<ClSkinChange<'a>> for Game<'a>
impl<'a> From<ClSkinChange<'a>> for Game<'a>
Source§fn from(i: ClSkinChange<'a>) -> Game<'a>
fn from(i: ClSkinChange<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<ClStartInfo<'a>> for Game<'a>
impl<'a> From<ClStartInfo<'a>> for Game<'a>
Source§fn from(i: ClStartInfo<'a>) -> Game<'a>
fn from(i: ClStartInfo<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<DeClientEnter<'a>> for Game<'a>
impl<'a> From<DeClientEnter<'a>> for Game<'a>
Source§fn from(i: DeClientEnter<'a>) -> Game<'a>
fn from(i: DeClientEnter<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<DeClientLeave<'a>> for Game<'a>
impl<'a> From<DeClientLeave<'a>> for Game<'a>
Source§fn from(i: DeClientLeave<'a>) -> Game<'a>
fn from(i: DeClientLeave<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvBroadcast<'a>> for Game<'a>
impl<'a> From<SvBroadcast<'a>> for Game<'a>
Source§fn from(i: SvBroadcast<'a>) -> Game<'a>
fn from(i: SvBroadcast<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvCheckpoint> for Game<'a>
impl<'a> From<SvCheckpoint> for Game<'a>
Source§fn from(i: SvCheckpoint) -> Game<'a>
fn from(i: SvCheckpoint) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvClientDrop<'a>> for Game<'a>
impl<'a> From<SvClientDrop<'a>> for Game<'a>
Source§fn from(i: SvClientDrop<'a>) -> Game<'a>
fn from(i: SvClientDrop<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvClientInfo<'a>> for Game<'a>
impl<'a> From<SvClientInfo<'a>> for Game<'a>
Source§fn from(i: SvClientInfo<'a>) -> Game<'a>
fn from(i: SvClientInfo<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvCommandInfo<'a>> for Game<'a>
impl<'a> From<SvCommandInfo<'a>> for Game<'a>
Source§fn from(i: SvCommandInfo<'a>) -> Game<'a>
fn from(i: SvCommandInfo<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvCommandInfoRemove<'a>> for Game<'a>
impl<'a> From<SvCommandInfoRemove<'a>> for Game<'a>
Source§fn from(i: SvCommandInfoRemove<'a>) -> Game<'a>
fn from(i: SvCommandInfoRemove<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvEmoticon> for Game<'a>
impl<'a> From<SvEmoticon> for Game<'a>
Source§fn from(i: SvEmoticon) -> Game<'a>
fn from(i: SvEmoticon) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvExtraProjectile> for Game<'a>
impl<'a> From<SvExtraProjectile> for Game<'a>
Source§fn from(i: SvExtraProjectile) -> Game<'a>
fn from(i: SvExtraProjectile) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvGameInfo> for Game<'a>
impl<'a> From<SvGameInfo> for Game<'a>
Source§fn from(i: SvGameInfo) -> Game<'a>
fn from(i: SvGameInfo) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvRaceFinish> for Game<'a>
impl<'a> From<SvRaceFinish> for Game<'a>
Source§fn from(i: SvRaceFinish) -> Game<'a>
fn from(i: SvRaceFinish) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvReadyToEnter> for Game<'a>
impl<'a> From<SvReadyToEnter> for Game<'a>
Source§fn from(i: SvReadyToEnter) -> Game<'a>
fn from(i: SvReadyToEnter) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvServerSettings> for Game<'a>
impl<'a> From<SvServerSettings> for Game<'a>
Source§fn from(i: SvServerSettings) -> Game<'a>
fn from(i: SvServerSettings) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvSkinChange<'a>> for Game<'a>
impl<'a> From<SvSkinChange<'a>> for Game<'a>
Source§fn from(i: SvSkinChange<'a>) -> Game<'a>
fn from(i: SvSkinChange<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvTuneParams> for Game<'a>
impl<'a> From<SvTuneParams> for Game<'a>
Source§fn from(i: SvTuneParams) -> Game<'a>
fn from(i: SvTuneParams) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvVoteClearOptions> for Game<'a>
impl<'a> From<SvVoteClearOptions> for Game<'a>
Source§fn from(i: SvVoteClearOptions) -> Game<'a>
fn from(i: SvVoteClearOptions) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvVoteOptionAdd<'a>> for Game<'a>
impl<'a> From<SvVoteOptionAdd<'a>> for Game<'a>
Source§fn from(i: SvVoteOptionAdd<'a>) -> Game<'a>
fn from(i: SvVoteOptionAdd<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvVoteOptionListAdd> for Game<'a>
impl<'a> From<SvVoteOptionListAdd> for Game<'a>
Source§fn from(i: SvVoteOptionListAdd) -> Game<'a>
fn from(i: SvVoteOptionListAdd) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvVoteOptionRemove<'a>> for Game<'a>
impl<'a> From<SvVoteOptionRemove<'a>> for Game<'a>
Source§fn from(i: SvVoteOptionRemove<'a>) -> Game<'a>
fn from(i: SvVoteOptionRemove<'a>) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvVoteStatus> for Game<'a>
impl<'a> From<SvVoteStatus> for Game<'a>
Source§fn from(i: SvVoteStatus) -> Game<'a>
fn from(i: SvVoteStatus) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> From<SvWeaponPickup> for Game<'a>
impl<'a> From<SvWeaponPickup> for Game<'a>
Source§fn from(i: SvWeaponPickup) -> Game<'a>
fn from(i: SvWeaponPickup) -> Game<'a>
Converts to this type from the input type.
Source§impl<'a> Message<'a> for Game<'a>
impl<'a> Message<'a> for Game<'a>
fn decode_msg<W>( warn: &mut W, id: SystemOrGame<MessageId, MessageId>, p: &mut Unpacker<'a>, ) -> Result<Game<'a>, Error>
fn msg_id(&self) -> SystemOrGame<MessageId, MessageId>
fn encode_msg<'d, 's>( &self, p: Packer<'d, 's>, ) -> Result<&'d [u8], CapacityError>
impl<'a> Copy for Game<'a>
Auto Trait Implementations§
impl<'a> Freeze for Game<'a>
impl<'a> RefUnwindSafe for Game<'a>
impl<'a> Send for Game<'a>
impl<'a> Sync for Game<'a>
impl<'a> Unpin for Game<'a>
impl<'a> UnwindSafe for Game<'a>
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> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
Source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
Source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
Source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
Source§impl<'a, T> MessageExt<'a> for Twhere
T: Message<'a>,
impl<'a, T> MessageExt<'a> for Twhere
T: Message<'a>,
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.