pub struct OpenNode<'b> {
pub tag: NodeStr<'b>,
pub attrs: AttrsRef<'b>,
pub content: OpenContent<'b>,
}Expand description
The head of a node the stream has descended into.
Borrows the stream’s buffer, so it lives until the stream’s next call; anything kept longer is copied out.
Fields§
§tag: NodeStr<'b>§attrs: AttrsRef<'b>§content: OpenContent<'b>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'b> Forget for OpenNode<'b>
impl<'b> Freeze for OpenNode<'b>
impl<'b> Move for OpenNode<'b>
impl<'b> RefUnwindSafe for OpenNode<'b>
impl<'b> Send for OpenNode<'b>
impl<'b> Sync for OpenNode<'b>
impl<'b> Unpin for OpenNode<'b>
impl<'b> UnsafeUnpin for OpenNode<'b>where
&'b str: UnsafeUnpin,
*const (): UnsafeUnpin,
*const [(NodeStr<'b>, ValueRef<'b>)] is !null: UnsafeUnpin,
PhantomData<[(NodeStr<'b>, ValueRef<'b>)]>: UnsafeUnpin,
&'b [u8]: UnsafeUnpin,
Vec<u8>: UnsafeUnpin,
*const [NodeRef<'b>] is !null: UnsafeUnpin,
PhantomData<[NodeRef<'b>]>: UnsafeUnpin,
impl<'b> UnwindSafe for OpenNode<'b>where
&'b str: UnwindSafe,
*const (): UnwindSafe,
BoxRaw<[(NodeStr<'b>, ValueRef<'b>)]>: UnwindSafe,
&'b [u8]: UnwindSafe,
Vec<u8>: UnwindSafe,
BoxRaw<[NodeRef<'b>]>: UnwindSafe,
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