#![allow(unused)] use runestick::{Mut, Object, Ref, Shared, Tuple, Value}; use runestick_macros::{Any, FromValue, ToValue}; #[derive(Any)] struct Custom {} #[derive(FromValue)] struct TestUnit; #[derive(FromValue)] struct TestNamed { a: Mut, b: Mut, c: Mut, d: Ref, e: Mut, } #[derive(FromValue)] struct TestUnnamed(Mut, Mut); #[derive(ToValue)] struct Test2 { a: String, b: Tuple, c: Object, d: Custom, e: Custom, } #[derive(ToValue)] struct Test2Unnamed(String, Custom); #[derive(FromValue)] enum TestEnum { TestUnit, TestNamed { a: Mut, b: Mut, c: Mut, d: Ref, e: Mut, }, TestUnnamed( Mut, Mut, Mut, Ref, Mut, ), } #[test] fn test_macro() {}