Macro leptos_use::use_derive_signal
source ยท macro_rules! use_derive_signal { ( $(#[$outer:meta])* $name:ident <$inner_signal_type:tt $(< $( $inner_type_param:tt ),+ >)? $(, $( $type_param:tt $( : $first_bound:tt $(+ $rest_bound:tt)* )? ),+ )? > -> $return_type:tt $($body:tt)+ ) => { ... }; }
Expand description
Macro to easily create helper functions that derive a signal using a piece of code.
See crate::is_ok
or crate::use_to_string
as examples.