pub struct TriggerEnter {
pub trigger: Entity,
pub other: Entity,
}Expand description
A collider began to overlap a trigger, in this tick. The system
nadir::triggers sends it, in the tick stage PostMovement.
Fields§
§trigger: EntityThe entity with the trigger.
other: EntityThe entity whose collider it detects.
Trait Implementations§
Source§impl Clone for TriggerEnter
impl Clone for TriggerEnter
impl Copy for TriggerEnter
Source§impl Debug for TriggerEnter
impl Debug for TriggerEnter
impl Eq for TriggerEnter
Source§impl PartialEq for TriggerEnter
impl PartialEq for TriggerEnter
impl StructuralPartialEq for TriggerEnter
Auto Trait Implementations§
impl Forget for TriggerEnter
impl Freeze for TriggerEnter
impl Move for TriggerEnter
impl RefUnwindSafe for TriggerEnter
impl Send for TriggerEnter
impl Sync for TriggerEnter
impl Unpin for TriggerEnter
impl UnsafeUnpin for TriggerEnter
impl UnwindSafe for TriggerEnter
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