pub struct Start<'a> {
pub qname: &'a str,
pub local: &'a str,
pub ns: Cow<'a, str>,
pub attrs: Vec<Attr<'a>>,
pub empty: bool,
pub at: usize,
pub end: usize,
}Expand description
a start tag
Fields§
§qname: &'a strthe name as written (with its prefix)
local: &'a strthe name without prefix
ns: Cow<'a, str>the namespace URI (“” for none)
attrs: Vec<Attr<'a>>the attributes in their order, namespace declarations included
empty: bool§at: usizethe offset of ‘<’
end: usizethe offset after ‘>’
Implementations§
Trait Implementations§
impl<'a> Eq for Start<'a>
impl<'a> StructuralPartialEq for Start<'a>
Auto Trait Implementations§
impl<'a> Forget for Start<'a>
impl<'a> Freeze for Start<'a>
impl<'a> Move for Start<'a>
impl<'a> RefUnwindSafe for Start<'a>where
String: RefUnwindSafe,
impl<'a> Send for Start<'a>
impl<'a> Sync for Start<'a>
impl<'a> Unpin for Start<'a>
impl<'a> UnsafeUnpin for Start<'a>where
&'a str: UnsafeUnpin,
String: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Attr<'a>>: UnsafeUnpin,
impl<'a> UnwindSafe for Start<'a>
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