Type Alias StringAttribute
pub type StringAttribute = MaybeDyn<Option<Cow<'static, str>>>;
Expand description
Type alias representing a possibly dynamic string value.
Aliased Type§
enum StringAttribute {
Static(Option<Cow<'static, str>>),
Signal(ReadSignal<Option<Cow<'static, str>>>),
Derived(Rc<dyn Fn() -> MaybeDyn<Option<Cow<'static, str>>>>),
}