Skip to main content

Platform

Trait Platform 

Source
pub trait Platform: Send + Sync {
    // Required methods
    fn print(&mut self, args: Arguments<'_>);
    fn exit(&self, state: ExitState) -> !;
}

Required Methods§

Source

fn print(&mut self, args: Arguments<'_>)

Source

fn exit(&self, state: ExitState) -> !

Implementors§