[][src]Struct orgize::elements::CommentBlock

pub struct CommentBlock<'a> {
    pub data: Option<Cow<'a, str>>,
    pub contents: Cow<'a, str>,
    pub post_blank: usize,
}

Comment Block Element

Fields

data: Option<Cow<'a, str>>contents: Cow<'a, str>

Comment block contents

post_blank: usize

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

Methods

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

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

Trait Implementations

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for CommentBlock<'a>

impl<'a> Send for CommentBlock<'a>

impl<'a> Sync for CommentBlock<'a>

impl<'a> Unpin for CommentBlock<'a>

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