[][src]Struct mrml::mjml::body::mj_body::MJBody

pub struct MJBody { /* fields omitted */ }

Implementations

impl MJBody[src]

pub fn empty<'a, 'b>(_opts: &Options) -> MJBody[src]

pub fn parse<'a, 'b>(
    node: Node<'a, 'b>,
    opts: &Options
) -> Result<MJBody, Error>
[src]

pub fn render_preview(&self, header: &Header) -> String[src]

Trait Implementations

impl BodyComponent for MJBody[src]

impl Clone for MJBody[src]

impl Component for MJBody[src]

impl ComponentWithAttributes for MJBody[src]

impl ComponentWithSizeAttribute for MJBody[src]

impl Debug for MJBody[src]

Auto Trait Implementations

impl RefUnwindSafe for MJBody

impl Send for MJBody

impl Sync for MJBody

impl Unpin for MJBody

impl UnwindSafe for MJBody

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> 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.