Struct SquadMarkerEvent
pub struct SquadMarkerEvent {
pub time: u64,
pub marker: SquadMarker,
pub position: Position,
}Expand description
Squad (ground) marker placed or removed.
Fields§
§time: u64Time of registering the event.
marker: SquadMarkerThe squad marker that was modified.
position: PositionThe position of the squad marker.
Implementations§
§impl SquadMarkerEvent
impl SquadMarkerEvent
Trait Implementations§
§impl Clone for SquadMarkerEvent
impl Clone for SquadMarkerEvent
§fn clone(&self) -> SquadMarkerEvent
fn clone(&self) -> SquadMarkerEvent
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 more§impl Debug for SquadMarkerEvent
impl Debug for SquadMarkerEvent
§impl<'de> Deserialize<'de> for SquadMarkerEvent
impl<'de> Deserialize<'de> for SquadMarkerEvent
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SquadMarkerEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SquadMarkerEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Extract for SquadMarkerEvent
impl Extract for SquadMarkerEvent
§impl Serialize for SquadMarkerEvent
impl Serialize for SquadMarkerEvent
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl TryExtract for SquadMarkerEvent
impl TryExtract for SquadMarkerEvent
§fn can_extract(event: &Event) -> bool
fn can_extract(event: &Event) -> bool
Checks whether
Self can be extracted from the event.§fn try_extract(event: &Event) -> Option<Self>
fn try_extract(event: &Event) -> Option<Self>
Attempts to extract
Self from the combat event.Auto Trait Implementations§
impl Freeze for SquadMarkerEvent
impl RefUnwindSafe for SquadMarkerEvent
impl Send for SquadMarkerEvent
impl Sync for SquadMarkerEvent
impl Unpin for SquadMarkerEvent
impl UnwindSafe for SquadMarkerEvent
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