pub enum Propagation {
Down,
Up,
DownUp,
Fall,
Direct,
All,
}Expand description
Determines how the event propagates through the tree
Variants§
Down
Events propagate down the tree to the target entity, e.g. from grand-parent to parent to child (target)
Up
Events propagate up the tree to the target entity, e.g. from child (target) to parent to grand-parent
DownUp
Events propagate down the tree to the target entity and then back up to the root
Fall
Events propagate from the target entity to all entities below but on the same branch
Direct
Events propagate directly to the target entity and to no others
All
Events propagate to all entities in the tree
Trait Implementations§
Source§impl Clone for Propagation
impl Clone for Propagation
Source§fn clone(&self) -> Propagation
fn clone(&self) -> Propagation
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 Propagation
impl Debug for Propagation
Source§impl PartialEq for Propagation
impl PartialEq for Propagation
impl StructuralPartialEq for Propagation
Auto Trait Implementations§
impl Freeze for Propagation
impl RefUnwindSafe for Propagation
impl Send for Propagation
impl Sync for Propagation
impl Unpin for Propagation
impl UnwindSafe for Propagation
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