pub struct StringContentLoader(/* private fields */);Expand description
A content loader for valid UTF-8 strings.
Implementations§
Trait Implementations§
Source§impl Clone for StringContentLoader
impl Clone for StringContentLoader
Source§fn clone(&self) -> StringContentLoader
fn clone(&self) -> StringContentLoader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StringContentLoader
impl Debug for StringContentLoader
Source§impl Display for StringContentLoader
impl Display for StringContentLoader
Source§impl From<&'static str> for StringContentLoader
impl From<&'static str> for StringContentLoader
Source§impl From<String> for StringContentLoader
impl From<String> for StringContentLoader
Source§impl From<StringContentLoader> for Body
impl From<StringContentLoader> for Body
Source§fn from(this: StringContentLoader) -> Self
fn from(this: StringContentLoader) -> Self
Converts to this type from the input type.
Source§impl Hash for StringContentLoader
impl Hash for StringContentLoader
Source§impl Ord for StringContentLoader
impl Ord for StringContentLoader
Source§fn cmp(&self, other: &StringContentLoader) -> Ordering
fn cmp(&self, other: &StringContentLoader) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StringContentLoader
impl PartialEq for StringContentLoader
Source§impl PartialOrd for StringContentLoader
impl PartialOrd for StringContentLoader
impl Eq for StringContentLoader
impl StructuralPartialEq for StringContentLoader
Auto Trait Implementations§
impl Freeze for StringContentLoader
impl RefUnwindSafe for StringContentLoader
impl Send for StringContentLoader
impl Sync for StringContentLoader
impl Unpin for StringContentLoader
impl UnwindSafe for StringContentLoader
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