use oxidd_derive::Function; #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Function)] pub struct MyFunc(F); #[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Function)] pub struct MyFuncNamed where F: oxidd_core::function::Function, { field: F, } fn main() {}