[][src]Struct orgize::elements::Macros

pub struct Macros<'a> {
    pub name: Cow<'a, str>,
    pub arguments: Option<Cow<'a, str>>,
}

Macro Object

Fields

name: Cow<'a, str>

Macro name

arguments: Option<Cow<'a, str>>

Arguments passed to the macro

Implementations

impl<'_> Macros<'_>[src]

pub fn into_owned(self) -> Macros<'static>[src]

Trait Implementations

impl<'a> Clone for Macros<'a>[src]

impl<'a> Debug for Macros<'a>[src]

impl<'a> From<Macros<'a>> for Element<'a>[src]

impl<'a> Serialize for Macros<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Macros<'a>

impl<'a> Send for Macros<'a>

impl<'a> Sync for Macros<'a>

impl<'a> Unpin for Macros<'a>

impl<'a> UnwindSafe for Macros<'a>

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.