//! Module of Text structure.
/// A structure that expresses something other than tags and comments.
#[derive(Debug, Clone)]pubstructText{text: String,
}implText{/// Create new Text structure.
////// # Arguments
/// * `text` - If `<h1>section</h1>`, then `section`.
pubfnnew(text: String)-> Text{
Text { text }}/// Returns the text.
/// If `<h1>section</h1>`, then returns `section`.
pubfnget_text(&self)->&str{&self.text
}}