mirror of
https://github.com/guilhermewerner/reflection
synced 2025-06-15 13:14:19 +00:00
6 lines
129 B
Rust
6 lines
129 B
Rust
use crate::{Object, Value};
|
|
use anyhow::Result;
|
|
use std::sync::Arc;
|
|
|
|
pub struct Property(Arc<dyn Fn(&Object) -> Result<Value>>);
|