[][src]Trait somedoc::model::inline::HasInlineContent

pub trait HasInlineContent: Default + ComplexContent<InlineContent> {
    fn from(inner: InlineContent) -> Self { ... }
fn from_all(inner: Vec<InlineContent>) -> Self { ... }
fn anchor(inner: Anchor) -> Self { ... }
fn link(inner: HyperLink) -> Self { ... }
fn image(inner: Image) -> Self { ... }
fn text(inner: Text) -> Self { ... }
fn text_str(inner: &str) -> Self { ... }
fn character(inner: Character) -> Self { ... }
fn line_break() -> Self { ... }
fn span(span: Span) -> Self { ... }
fn add_anchor(&mut self, inner: Anchor) { ... }
fn add_link(&mut self, inner: HyperLink) { ... }
fn add_image(&mut self, inner: Image) { ... }
fn add_text(&mut self, inner: Text) { ... }
fn add_text_str(&mut self, inner: &str) { ... }
fn add_character(&mut self, inner: Character) { ... }
fn add_line_break(&mut self) { ... }
fn add_span(&mut self, inner: Span) { ... }
fn plain(inner: InlineContent) -> Self { ... }
fn plain_str(inner: &str) -> Self { ... }
fn italic(inner: InlineContent) -> Self { ... }
fn italic_str(inner: &str) -> Self { ... }
fn slanted(inner: InlineContent) -> Self { ... }
fn slanted_str(inner: &str) -> Self { ... }
fn quote(inner: InlineContent) -> Self { ... }
fn quote_str(inner: &str) -> Self { ... }
fn light(inner: InlineContent) -> Self { ... }
fn light_str(inner: &str) -> Self { ... }
fn bold(inner: InlineContent) -> Self { ... }
fn bold_str(inner: &str) -> Self { ... }
fn mono(inner: InlineContent) -> Self { ... }
fn mono_str(inner: &str) -> Self { ... }
fn code(inner: InlineContent) -> Self { ... }
fn code_str(inner: &str) -> Self { ... }
fn strikethrough(inner: InlineContent) -> Self { ... }
fn strikethrough_str(inner: &str) -> Self { ... }
fn underline(inner: InlineContent) -> Self { ... }
fn underline_str(inner: &str) -> Self { ... }
fn small_caps(inner: InlineContent) -> Self { ... }
fn small_caps_str(inner: &str) -> Self { ... }
fn superscript(inner: InlineContent) -> Self { ... }
fn superscript_str(inner: &str) -> Self { ... }
fn subscript(inner: InlineContent) -> Self { ... }
fn subscript_str(inner: &str) -> Self { ... } }

Provided methods

fn from(inner: InlineContent) -> Self

fn from_all(inner: Vec<InlineContent>) -> Self

fn anchor(inner: Anchor) -> Self

fn image(inner: Image) -> Self

fn text(inner: Text) -> Self

fn text_str(inner: &str) -> Self

fn character(inner: Character) -> Self

fn line_break() -> Self

fn span(span: Span) -> Self

fn add_anchor(&mut self, inner: Anchor)

fn add_image(&mut self, inner: Image)

fn add_text(&mut self, inner: Text)

fn add_text_str(&mut self, inner: &str)

fn add_character(&mut self, inner: Character)

fn add_line_break(&mut self)

fn add_span(&mut self, inner: Span)

fn plain(inner: InlineContent) -> Self

fn plain_str(inner: &str) -> Self

fn italic(inner: InlineContent) -> Self

fn italic_str(inner: &str) -> Self

fn slanted(inner: InlineContent) -> Self

fn slanted_str(inner: &str) -> Self

fn quote(inner: InlineContent) -> Self

fn quote_str(inner: &str) -> Self

fn light(inner: InlineContent) -> Self

fn light_str(inner: &str) -> Self

fn bold(inner: InlineContent) -> Self

fn bold_str(inner: &str) -> Self

fn mono(inner: InlineContent) -> Self

fn mono_str(inner: &str) -> Self

fn code(inner: InlineContent) -> Self

fn code_str(inner: &str) -> Self

fn strikethrough(inner: InlineContent) -> Self

fn strikethrough_str(inner: &str) -> Self

fn underline(inner: InlineContent) -> Self

fn underline_str(inner: &str) -> Self

fn small_caps(inner: InlineContent) -> Self

fn small_caps_str(inner: &str) -> Self

fn superscript(inner: InlineContent) -> Self

fn superscript_str(inner: &str) -> Self

fn subscript(inner: InlineContent) -> Self

fn subscript_str(inner: &str) -> Self

Loading content...

Implementors

impl HasInlineContent for DefinitionPart[src]

impl HasInlineContent for Heading[src]

impl HasInlineContent for Item[src]

impl HasInlineContent for Paragraph[src]

impl HasInlineContent for Cell[src]

impl HasInlineContent for Span[src]

Loading content...