pub enum LexicalSource<'a> {
Attribute {
namespace: Option<&'a str>,
local_name: &'a str,
},
SimpleContent,
}Expand description
Where the original property supplies its URI. Attribute lookup uses an expanded name; simple content joins only direct text/CDATA in source order.
Variants§
Attribute
Exact original attribute; absence is not an empty URI.
Fields
SimpleContent
Simple content; nested elements are malformed, comments/PIs contribute no text.
Trait Implementations§
Source§impl<'a> Clone for LexicalSource<'a>
impl<'a> Clone for LexicalSource<'a>
impl<'a> Copy 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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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