pub trait GameLogFormatter: Send + Sync {
// Required method
fn format(&self, entry: &GameLogEntry) -> String;
}Expand description
Log formatter interface.
Mirrors Java GameLogFormatter.
Required Methods§
fn format(&self, entry: &GameLogEntry) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".