[−]Struct html5ever::tendril::SendTendril
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 Send
ness 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, A> From<SendTendril<F>> for Tendril<F, A> where
A: Atomicity,
F: Format,
A: Atomicity,
F: Format,
fn from(send: SendTendril<F>) -> Tendril<F, A>
impl<F, A> From<Tendril<F, A>> for SendTendril<F> where
A: Atomicity,
F: Format,
A: Atomicity,
F: Format,
fn from(tendril: Tendril<F, A>) -> SendTendril<F>
impl<F> Send for SendTendril<F> where
F: Format,
F: Format,
impl<F> Clone for SendTendril<F> where
F: Clone + Format,
F: Clone + Format,
fn clone(&self) -> SendTendril<F>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<F> !Sync for SendTendril<F>
impl<F> Unpin for SendTendril<F>
impl<F> UnwindSafe for SendTendril<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> !RefUnwindSafe for SendTendril<F>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,