[][src]Enum orgize::elements::Table

pub enum Table<'a> {
    Org {
        tblfm: Option<Cow<'a, str>>,
        post_blank: usize,
        has_header: bool,
    },
    TableEl {
        value: Cow<'a, str>,
        post_blank: usize,
    },
}

Table Element

Variants

Org

"org" type table

Fields of Org

tblfm: Option<Cow<'a, str>>post_blank: usize

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

has_header: bool
TableEl

"table.el" type table

Fields of TableEl

value: Cow<'a, str>post_blank: usize

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

Implementations

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

pub fn parse_table_el(input: &str) -> Option<(&str, Table)>[src]

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

Trait Implementations

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

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for Table<'a>

impl<'a> Send for Table<'a>

impl<'a> Sync for Table<'a>

impl<'a> Unpin for Table<'a>

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