pub enum TextValue<'view> {
Absent,
ComplexContent,
Present(&'view str),
}Expand description
Complete XML-normalized text, before schema whitespace conversion. This is a lexical source view, not successful interpretation of a requested schema.
Variants§
Absent
The requested original attribute was not written.
ComplexContent
Element children prevent reading simple content.
Present(&'view str)
Entire original value, including significant spaces and empty text.
Trait Implementations§
impl<'view> Copy for TextValue<'view>
impl<'view> Eq for TextValue<'view>
impl<'view> StructuralPartialEq for TextValue<'view>
Auto Trait Implementations§
impl<'view> Forget for TextValue<'view>
impl<'view> Freeze for TextValue<'view>
impl<'view> RefUnwindSafe for TextValue<'view>
impl<'view> Send for TextValue<'view>
impl<'view> Sync for TextValue<'view>
impl<'view> Unpin for TextValue<'view>
impl<'view> UnsafeUnpin for TextValue<'view>
impl<'view> UnwindSafe for TextValue<'view>
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