[][src]Struct orgize::elements::SpecialBlock

pub struct SpecialBlock<'a> {
    pub parameters: Option<Cow<'a, str>>,
    pub name: Cow<'a, str>,
    pub pre_blank: usize,
    pub post_blank: usize,
}

Special Block Element

Fields

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

Block parameters

name: Cow<'a, str>

Block name

pre_blank: usize

Numbers of blank lines between first block's line and next non-blank line

post_blank: usize

Numbers of blank lines between last block's line and next non-blank line or buffer's end

Implementations

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

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

Trait Implementations

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

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for SpecialBlock<'a>

impl<'a> Send for SpecialBlock<'a>

impl<'a> Sync for SpecialBlock<'a>

impl<'a> Unpin for SpecialBlock<'a>

impl<'a> UnwindSafe for SpecialBlock<'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.