[]Struct html5ever::tendril::SendTendril

pub struct SendTendril<F> where
    F: Format
{ /* fields omitted */ }

A simple wrapper to make Tendril Send.

Although there is a certain subset of the operations on a Tendril that a SendTendril could reasonably implement, in order to clearly separate concerns this type is deliberately minimalist, acting as a safe encapsulation around the invariants which permit Sendness and behaving as an opaque object.

A SendTendril may be produced by Tendril.into_send() or SendTendril::from(tendril), and may be returned to a Tendril by Tendril::from(self).

Trait Implementations

impl<F> Clone for SendTendril<F> where
    F: Clone + Format

impl<F> Send for SendTendril<F> where
    F: Format

impl<F, A> From<Tendril<F, A>> for SendTendril<F> where
    A: Atomicity,
    F: Format

impl<F, A> From<SendTendril<F>> for Tendril<F, A> where
    A: Atomicity,
    F: Format

Auto Trait Implementations

impl<F> !Sync for SendTendril<F>

impl<F> Unpin for SendTendril<F>

impl<F> UnwindSafe for SendTendril<F> where
    F: RefUnwindSafe

impl<F> !RefUnwindSafe for SendTendril<F>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]