Format

Trait Format 

Source
pub trait Format {
    // Required method
    fn format(&self, format: &str) -> Result<String, DateError>;
}
Expand description

A trait for objects that can be formatted

Required Methods§

Source

fn format(&self, format: &str) -> Result<String, DateError>

Format this object using the given format string

Implementors§