#![no_implicit_prelude] #[derive(::yew::prelude::Properties, ::std::fmt::Debug)] pub struct CompProps { #[prop_or_default] _phantom: ::std::marker::PhantomData, } impl ::std::cmp::PartialEq for CompProps { fn eq(&self, _rhs: &Self) -> bool { true } } #[::yew::prelude::function_component(Comp)] pub fn comp(_props: &CompProps) -> ::yew::prelude::Html { ::std::todo!() } #[::yew::prelude::function_component(App)] pub fn app() -> ::yew::prelude::Html { ::yew::prelude::html! { } // No generics here. } fn main() {}