Struct somedoc::model::block::Formatted[][src]

pub struct Formatted { /* fields omitted */ }

A pre-formatted block of text, no formatting should be done on the inner content.

Implementations

impl Formatted[src]

pub fn inner(&self) -> &String[src]

Return a reference to the inner value.

pub fn into_inner(self) -> String[src]

Return the inner value, consuming the outer one.

Trait Implementations

impl Clone for Formatted[src]

impl Debug for Formatted[src]

impl<'de> Deserialize<'de> for Formatted[src]

impl From<&'_ str> for Formatted[src]

impl From<String> for Formatted[src]

impl HasLabel for Formatted[src]

impl Into<BlockContent> for Formatted[src]

impl Serialize for Formatted[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<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.