pub struct BytesText<'src> { /* private fields */ }Expand description
Character-data text between elements. Cow::Borrowed for the
common case (no entity refs in the literal); Cow::Owned only when
the parser had to expand &entity; references.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'src> Freeze for BytesText<'src>
impl<'src> RefUnwindSafe for BytesText<'src>
impl<'src> Send for BytesText<'src>
impl<'src> Sync for BytesText<'src>
impl<'src> Unpin for BytesText<'src>
impl<'src> UnsafeUnpin for BytesText<'src>
impl<'src> UnwindSafe for BytesText<'src>
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