feat: added Debug, PartialEq and Eq derives to trigger. (#1060)

This commit is contained in:
Daniel Santana 2023-05-19 01:32:25 +01:00 committed by GitHub
parent 2cb68c0bd4
commit 076aa363a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ use crate::{
/// Reactive Trigger, notifies reactive code to rerun.
///
/// See [`create_trigger`] for more.
#[derive(Clone, Copy)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub struct Trigger {
pub(crate) runtime: RuntimeId,
pub(crate) id: NodeId,