pub struct Reader<'a> { /* private fields */ }Expand description
the strict pull reader (see the top of this file)
Implementations§
Source§impl<'a> Reader<'a>
impl<'a> Reader<'a>
Sourcepub fn new(s: &'a str, depth: usize, attrs: usize) -> Reader<'a>
pub fn new(s: &'a str, depth: usize, attrs: usize) -> Reader<'a>
a reader of s with at most depth open elements and attrs attributes per element; a leading
U+FEFF is skipped
Auto Trait Implementations§
impl<'a> Forget for Reader<'a>
impl<'a> Freeze for Reader<'a>where
&'a str: Freeze,
*const u8 is !null: Freeze,
PhantomData<&'a str>: Freeze,
PhantomData<Binding<'a>>: Freeze,
impl<'a> Move for Reader<'a>
impl<'a> RefUnwindSafe for Reader<'a>where
String: RefUnwindSafe,
impl<'a> Send for Reader<'a>
impl<'a> Sync for Reader<'a>
impl<'a> Unpin for Reader<'a>
impl<'a> UnsafeUnpin for Reader<'a>where
&'a str: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<&'a str>: UnsafeUnpin,
PhantomData<Binding<'a>>: UnsafeUnpin,
impl<'a> UnwindSafe for Reader<'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