Struct orgize::elements::SourceBlock [−][src]
pub struct SourceBlock<'a> {
pub contents: Cow<'a, str>,
pub language: Cow<'a, str>,
pub arguments: Cow<'a, str>,
pub post_blank: usize,
}
Expand description
Src Block Element
Fields
contents: Cow<'a, str>
Block contents
language: Cow<'a, str>
Language of the code in the block
arguments: Cow<'a, str>
post_blank: usize
Numbers of blank lines between last block’s line and next non-blank line or buffer’s end
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SourceBlock<'a>
impl<'a> Send for SourceBlock<'a>
impl<'a> Sync for SourceBlock<'a>
impl<'a> Unpin for SourceBlock<'a>
impl<'a> UnwindSafe for SourceBlock<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more