Trait evtc::extract::Extract

source ·
pub trait Extract: Sized {
    // Required method
    unsafe fn extract(event: &Event) -> Self;
}
Expand description

Forcefully extracts information from a combat event.

Required Methods§

source

unsafe fn extract(event: &Event) -> Self

Extracts Self from the combat event.

§Safety

This is safe when the given event is a valid event to extract Self from.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Extract for BuffApplyKind

source§

impl Extract for BuffRemoveKind

source§

impl Extract for EffectLocation

source§

impl Extract for AgentStatusEvent

source§

impl Extract for AttackTargetEvent

source§

impl Extract for BarrierUpdateEvent

source§

impl Extract for BreakbarPercentEvent

source§

impl Extract for BreakbarStateEvent

source§

impl Extract for DownContributionEvent

source§

impl Extract for EnterCombatEvent

source§

impl Extract for HealthUpdateEvent

source§

impl Extract for MaxHealthEvent

source§

impl Extract for TargetableEvent

source§

impl Extract for TeamChangeEvent

source§

impl Extract for BuffApplyEvent

source§

impl Extract for BuffDamageEvent

source§

impl Extract for BuffFormula

source§

impl Extract for BuffInfo

source§

impl Extract for BuffInitialEvent

source§

impl Extract for BuffRemoveEvent

source§

impl Extract for RawBuffFormula

source§

impl Extract for StackActiveEvent

source§

impl Extract for StackResetEvent

source§

impl Extract for Effect

source§

impl Extract for EffectGUID

source§

impl Extract for EffectOld

source§

impl Extract for ErrorEvent

source§

impl Extract for LogEvent

source§

impl Extract for ContentGUID

source§

impl Extract for AgentMarkerEvent

source§

impl Extract for SquadMarkerEvent

source§

impl Extract for GuildEvent

source§

impl Extract for RewardEvent

source§

impl Extract for TagEvent

source§

impl Extract for Position

source§

impl Extract for PositionEvent

source§

impl Extract for ActivationEvent

source§

impl Extract for SkillInfo

source§

impl Extract for SkillTiming

source§

impl Extract for StrikeEvent

source§

impl Extract for WeaponSwapEvent