pub struct NonAtomic(_);
Expand description
A marker of a non-atomic tendril.
This is the default for the second type parameter of a Tendril
and so doesn’t typically need to be written.
This is akin to using Rc
for reference counting.
Trait Implementations
sourceimpl<Sink: TreeSink> TendrilSink<UTF8, NonAtomic> for Parser<Sink>
impl<Sink: TreeSink> TendrilSink<UTF8, NonAtomic> for Parser<Sink>
sourcefn process(&mut self, t: StrTendril)
fn process(&mut self, t: StrTendril)
Process this tendril.
fn one<T>(self, t: T) -> Self::Outputwhere
Self: Sized,
T: Into<Tendril<F, A>>,
fn one<T>(self, t: T) -> Self::Outputwhere
Self: Sized,
T: Into<Tendril<F, A>>,
Process one tendril and finish.
fn from_iter<I>(self, i: I) -> Self::Outputwhere
Self: Sized,
I: IntoIterator,
<I as IntoIterator>::Item: Into<Tendril<F, A>>,
fn from_iter<I>(self, i: I) -> Self::Outputwhere
Self: Sized,
I: IntoIterator,
<I as IntoIterator>::Item: Into<Tendril<F, A>>,
Consume an iterator of tendrils, processing each item, then finish.
impl Atomicity for NonAtomic
Auto Trait Implementations
impl !RefUnwindSafe for NonAtomic
impl Send for NonAtomic
impl !Sync for NonAtomic
impl Unpin for NonAtomic
impl UnwindSafe for NonAtomic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more