pub struct ConsoleHandler {
pub log: Box<dyn Fn(&str) + Send + Sync>,
pub warn: Box<dyn Fn(&str) + Send + Sync>,
pub error: Box<dyn Fn(&str) + Send + Sync>,
}Fields§
§log: Box<dyn Fn(&str) + Send + Sync>§warn: Box<dyn Fn(&str) + Send + Sync>§error: Box<dyn Fn(&str) + Send + Sync>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConsoleHandler
impl !RefUnwindSafe for ConsoleHandler
impl Send for ConsoleHandler
impl Sync for ConsoleHandler
impl Unpin for ConsoleHandler
impl !UnwindSafe for ConsoleHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more