pub fn new(target: Index, event_type: EventType) -> Self {
        Self {
            target,
            current_target: target,
            event_type,
            should_propagate: event_type.propagates(),
        }
    }
/// Create a new event
///
/// This is the preferred method for creating an event as it automatically sets up
/// propagation and other event metadata in a standardized manner
Create a new event
This is the preferred method for creating an event as it automatically sets up
propagation and other event metadata in a standardized manner
Create a new event This is the preferred method for creating an event as it automatically sets up propagation and other event metadata in a standardized manner
pub fn new(target: Index, event_type: EventType) -> Self {
        Self {
            target,
            current_target: target,
            event_type,
            should_propagate: event_type.propagates(),
        }
    }
pub fn new ( target : Index , event_type : EventType ) -> Self { Self { target , current_target : target , event_type , should_propagate : event_type . propagates ( ) , } }
Create a new event
This is the preferred method for creating an event as it automatically sets up
propagation and other event metadata in a standardized manner
Create a new event This is the preferred method for creating an event as it automatically sets up propagation and other event metadata in a standardized manner
target
Index
event_type
EventType
target
Index
event_type
EventType