pub fn behavior<T: IntoGeometric + FromGeometric + Clone + 'static>(
initial: T,
) -> Behavior<T>Expand description
Convenience function to create a behavior
ยงExample
use cliffy_core::behavior;
let count = behavior(0);
let name = behavior("Alice".to_string());
let active = behavior(true);