pub enum LexicalSource<'a> {
Attribute(Name<'a>),
SimpleContent,
}Expand description
Original XML location supplying a reference URI to the same owner resolver. The property node always supplies XML Base and source provenance; callers never replace this location with a separately collected or normalized URI.
Variants§
Attribute(Name<'a>)
Original attribute selected by its expanded XML name.
SimpleContent
Direct simple content: text/CDATA in order, excluding comments/PI. Element children are malformed, not recursively flattened string values. Empty text remains present and follows the URI rules, never Missing.
Trait Implementations§
Source§impl<'a> Clone for LexicalSource<'a>
impl<'a> Clone for LexicalSource<'a>
impl<'a> Copy for LexicalSource<'a>
Source§impl<'a> Debug for LexicalSource<'a>
impl<'a> Debug for LexicalSource<'a>
impl<'a> Eq for LexicalSource<'a>
Source§impl<'a> PartialEq for LexicalSource<'a>
impl<'a> PartialEq for LexicalSource<'a>
impl<'a> StructuralPartialEq for LexicalSource<'a>
Auto Trait Implementations§
impl<'a> Freeze for LexicalSource<'a>
impl<'a> RefUnwindSafe for LexicalSource<'a>
impl<'a> Send for LexicalSource<'a>
impl<'a> Sync for LexicalSource<'a>
impl<'a> Unpin for LexicalSource<'a>
impl<'a> UnsafeUnpin for LexicalSource<'a>
impl<'a> UnwindSafe for LexicalSource<'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