pub trait Freeze {
// Required method
fn freeze(&self) -> String;
}Expand description
A trait for reactive structs that can be made unreactive and serialized to
a String. structs that implement this should implement MakeUnrx for
simplicity, but they technically don’t have to (they always do in Perseus
macro-generated code).
Required Methods§
Implementors§
impl<G: Html> Freeze for Reactor<G>
Available on
client only.