[][src]Struct orgize::elements::Drawer

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

Drawer Element

Fields

name: Cow<'a, str>

Drawer name

pre_blank: usize

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

post_blank: usize

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

Implementations

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

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

Trait Implementations

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

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

impl<'a> Default for Drawer<'a>[src]

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for Drawer<'a>

impl<'a> Send for Drawer<'a>

impl<'a> Sync for Drawer<'a>

impl<'a> Unpin for Drawer<'a>

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