[−][src]Trait bloguen::ops::WrappedElement
An element with a preface, a content, and a postface.
More efficient than concatting them together.
The *_b()
versions are I/O helpers.
Required methods
fn head(&self) -> &str
Characters to put before the content.
fn content(&self) -> &str
The content itself.
fn foot(&self) -> &str
Characters to put after the content.
Provided methods
fn head_b(&self) -> &[u8]
Byte representation of pre-content.
fn content_b(&self) -> &[u8]
Byte representation of the content.
fn foot_b(&self) -> &[u8]
Byte representation of post-content.