We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We want to allow this:
#[derive(IsTree)] #[tree(branches)] pub struct Structure { pub name: String, pub surname: String } #[test] fn main() { let structure = Structure { name: "Danilo".into(), surname: "Guanabara".into() }; assert_eq!("{}", structure.get("name").unwrap(), "Danilo"); assert_eq!("{}", structure.get("surname").unwrap(), "Guanabara"); assert!(structure.get("invalid").is_none()); }
This is a requirement for a runtime reflection system.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We want to allow this:
This is a requirement for a runtime reflection system.
The text was updated successfully, but these errors were encountered: