Struct message_format::icu::ast::PlainText [] [src]

pub struct PlainText {
    // some fields omitted
}

A string that should be output. Used for the text in between formats.

Methods

impl PlainText

fn new(text: &str) -> Self

Construct a PlainText.

Trait Implementations

impl MessagePart for PlainText

fn apply_format(&self, _ctx: &Context, stream: &mut Write, _args: Option<&Args>) -> Result

Derived Implementations

impl Debug for PlainText

fn fmt(&self, __arg_0: &mut Formatter) -> Result