Type Alias yew::virtual_dom::AttrValue

source ·
pub type AttrValue = IString;
Expand description

Attribute value

Aliased Type§

enum AttrValue {
    Static(&'static str),
    Rc(Rc<str>),
}

Variants§

§

Static(&'static str)

A static string slice.

§

Rc(Rc<str>)

A reference counted string slice.

Trait Implementations§

source§

impl IntoPropValue<ChildrenRenderer<VNode>> for AttrValue

source§

fn into_prop_value(self) -> ChildrenRenderer<VNode>

Convert self to a value of a Properties struct.
source§

impl ToHtml for AttrValue

source§

fn to_html(&self) -> Html

Converts this type to a Html.
source§

fn into_html(self) -> Html
where Self: Sized,

Converts this type into a Html.