pub struct StartTag {
pub name: String,
pub ns: Option<String>,
pub prefix: Option<String>,
pub attributes: HashMap<(String, Option<String>), String>,
}
Expand description
Structure describing an opening tag
Fields§
§name: String
The tag’s name
ns: Option<String>
The tag’s namespace
prefix: Option<String>
The tag’s prefix
attributes: HashMap<(String, Option<String>), String>
The tag’s attributes
Trait Implementations§
impl Eq for StartTag
impl StructuralPartialEq for StartTag
Auto Trait Implementations§
impl Freeze for StartTag
impl RefUnwindSafe for StartTag
impl Send for StartTag
impl Sync for StartTag
impl Unpin for StartTag
impl UnwindSafe for StartTag
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more