pub struct Attribute<'a> {
pub key: (String, FilePosition),
pub value: Option<(String, FilePosition)>,
pub parent: Option<Rc<RefCell<XmlToken<'a>>>>,
}
Fields§
§key: (String, FilePosition)
§value: Option<(String, FilePosition)>
§parent: Option<Rc<RefCell<XmlToken<'a>>>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Attribute<'a>
impl<'a> !RefUnwindSafe for Attribute<'a>
impl<'a> !Send for Attribute<'a>
impl<'a> !Sync for Attribute<'a>
impl<'a> Unpin for Attribute<'a>
impl<'a> !UnwindSafe for Attribute<'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