wip: recoil
This commit is contained in:
1 parent
3cfa1fe125
commit
ee67654f58
31 files changed
+1369
-235
No files matched your search
@@ -0,0 +1,13 @@
|
||||
use crate::{Atom, AtomFamily};
|
||||
|
||||
use std::hash::Hash;
|
||||
|
||||
pub trait FamilyKey: PartialEq + Hash {}
|
||||
impl<T: PartialEq + Hash> FamilyKey for T {}
|
||||
|
||||
pub trait AtomValue: PartialEq {}
|
||||
impl<T: PartialEq> AtomValue for T {}
|
||||
|
||||
pub trait Readable<T>: 'static {
|
||||
fn load(&'static self) -> RecoilItem;
|
||||
}
|
||||
Reference in new issue
Block a user