Test generics and other things

This commit is contained in:
Werner
2022-05-22 13:41:48 -03:00
parent acb22d7ce6
commit ced258e5c5
16 changed files with 283 additions and 32 deletions

5
Source/Property.rs Normal file
View File

@ -0,0 +1,5 @@
use crate::{Object, Value};
use anyhow::Result;
use std::sync::Arc;
pub struct Property(Arc<dyn Fn(&Object) -> Result<Value>>);