pub trait Freeze {
// Required method
fn freeze(&self) -> String;
}
Expand description
A trait for reactive struct
s that can be made unreactive and serialized to
a String
. struct
s that implement this should implement MakeUnrx
for
simplicity, but they technically don’t have to (they always do in Perseus
macro-generated code).