Function sauron::prelude::text [−]
pub fn text<S, NS, TAG, ATT, VAL, EVENT>(s: S) -> Node<NS, TAG, ATT, VAL, EVENT> where
S: ToString,
TAG: PartialEq<TAG> + Clone + Debug,
NS: PartialEq<NS> + Clone + Debug,
ATT: PartialEq<ATT> + Clone + Debug,
VAL: PartialEq<VAL> + Clone + Debug,
EVENT: PartialEq<EVENT> + Clone + Debug,
Expand description
Create a textnode element