1//! 控制台驱动`Trait`定义 2 3use core::fmt::Write; 4 5/// 控制台实现 6pub trait ConsoleImpl: Write { 7 /// 初始化控制台驱动 8 fn init(&mut self) {} 9}