pub struct Text(pub Vec<u8>);
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Parse the object off of the beginning of the input
. If found, returns Some object,
and a slice containing the remainer of the input. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Serializes and sends the content out to w
, returning the number of bytes written.
sourceimpl<T> Any for T where
T: 'static + ?Sized,
sourceimpl<T> Borrow<T> for T where
T: ?Sized,
Immutably borrows from an owned value. Read more
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
Mutably borrows from an owned value. Read more
sourceimpl<T> From<T> for T
Returns the argument unchanged.
sourceimpl<T, U> Into<U> for T where
U: From<T>,
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
sourceimpl<T> ToOwned for T where
T: Clone,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> TryFrom<T> for T
The type returned in the event of a conversion error.
sourceimpl<T, U> TryFrom<U> for T where
U: Into<T>,
The type returned in the event of a conversion error.
sourceimpl<T, U> TryInto<U> for T where
U: TryFrom<T>,
The type returned in the event of a conversion error.