[−][src]Struct maud::PreEscaped
A wrapper that renders the inner value without escaping.
Methods
impl<T: AsRef<str> + Into<String>> PreEscaped<T>
[src]
impl<T: AsRef<str> + Into<String>> PreEscaped<T>
pub fn into_string(self) -> String | [src] |
Converts the inner value to a string.
Trait Implementations
impl<T: AsRef<str>> Render for PreEscaped<T>
[src]
impl<T: AsRef<str>> Render for PreEscaped<T>
fn render_to(&self, w: &mut String) | [src] |
fn render(&self) -> Markup | [src] |
Renders self
as a block of Markup
.
impl<T: AsRef<str> + Into<String>> Into<String> for PreEscaped<T>
[src]
impl<T: AsRef<str> + Into<String>> Into<String> for PreEscaped<T>
impl<T: Copy + AsRef<str>> Copy for PreEscaped<T>
[src]
impl<T: Copy + AsRef<str>> Copy for PreEscaped<T>
impl<T: Clone + AsRef<str>> Clone for PreEscaped<T>
[src]
impl<T: Clone + AsRef<str>> Clone for PreEscaped<T>
fn clone(&self) -> PreEscaped<T> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl<T: Debug + AsRef<str>> Debug for PreEscaped<T>
[src]
impl<T: Debug + AsRef<str>> Debug for PreEscaped<T>
impl Responder for PreEscaped<String>
[src]
impl Responder for PreEscaped<String>
type Item = HttpResponse
The associated item which can be returned.
type Error = Error
The associated error which can be returned.
fn respond_to<S>(self, _req: &HttpRequest<S>) -> Result<Self::Item, Self::Error> | [src] |
impl Modifier<Response> for PreEscaped<String>
[src]
impl Modifier<Response> for PreEscaped<String>
impl WriteBody for PreEscaped<String>
[src]
impl WriteBody for PreEscaped<String>
fn write_body(&mut self, body: &mut dyn Write) -> Result<()> | [src] |
impl Responder<'static> for PreEscaped<String>
[src]
impl Responder<'static> for PreEscaped<String>
fn respond_to(self, _: &Request) -> Result<Response<'static>, Status> | [src] |
Auto Trait Implementations
impl<T> Send for PreEscaped<T> where
T: Send,
impl<T> Send for PreEscaped<T> where
T: Send,
impl<T> Sync for PreEscaped<T> where
T: Sync,
impl<T> Sync for PreEscaped<T> where
T: Sync,
Blanket Implementations
impl<T> Render for T where
T: Display + ?Sized,
[src]
impl<T> Render for T where
T: Display + ?Sized,
fn render_to(&Self, &mut String) | [src] |
fn render(&self) -> Markup | [src] |
Renders self
as a block of Markup
.
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Erased for T
impl<T> Erased for T
impl<T> Typeable for T where
T: Any,
impl<T> Typeable for T where
T: Any,
impl<T> DebugAny for T where
T: Any + Debug,
impl<T> DebugAny for T where
T: Any + Debug,
impl<T> CloneAny for T where
T: Clone + Any,
impl<T> CloneAny for T where
T: Clone + Any,
fn clone_any(&self) -> Box<dyn CloneAny + 'static> |
fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send> where |
fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync> where |
fn clone_any_send_sync(&self) -> Box<dyn CloneAny + 'static + Sync + Send> where |
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,
impl<T> IntoCollection for T
impl<T> IntoCollection for T
fn into_collection<A>(self) -> SmallVec<A> where |
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where |
impl<T, I> AsResult for T where
I: Input,
impl<T, I> AsResult for T where
I: Input,