mirror of
https://github.com/Zenithsiz/dynatos.git
synced 2026-02-06 19:54:20 +00:00
Added fmt::Debug impl for WeakEffect.
This commit is contained in:
parent
7c2ad3d2da
commit
554b4f6429
@ -119,6 +119,13 @@ impl Effect {
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for Effect {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
f.debug_struct("Effect").finish_non_exhaustive()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// Weak effect
|
||||
///
|
||||
/// Used to break ownership between a signal and it's subscribers
|
||||
@ -162,8 +169,8 @@ impl Hash for WeakEffect {
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for Effect {
|
||||
impl fmt::Debug for WeakEffect {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
f.debug_struct("Effect").finish_non_exhaustive()
|
||||
f.debug_struct("WeakEffect").finish_non_exhaustive()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user