/// Creates a new tag.
///
/// Note that no allocation is performed. Everything is initialised to a
/// default empty state.
Creates a new tag.
Note that no allocation is performed. Everything is initialised to a
default empty state.
Creates a new tag . Note that no allocation is performed . Everything is initialised to a default empty state .
pub fn new(name: String) -> Self {
        Tag {
            namespace: None,
            name,
            values: Vec::new(),
            attrs: Vec::new(),
            tags: Vec::new(),
        }
    }
pub fn new ( name : String ) -> Self { Tag { namespace : None , name , values : Vec :: new ( ) , attrs : Vec :: new ( ) , tags : Vec :: new ( ) , } }
Creates a new tag.
Creates a new tag .
name
String