Struct message_format::icu::ast::SelectFormat
[−]
[src]
pub struct SelectFormat {
// some fields omitted
}Using a value, select the appropriate message and format it.
Methods
impl SelectFormat
fn new(variable_name: &str, default: Message) -> Self
Construct a SelectFormat.
fn map(&mut self, value: &str, message: Message)
Map a value for a particular message.
fn lookup_message(&self, value: &str) -> &Message
Given a value, determine which Message to use.