It is a mutable global variable, and in Rust, these are always unsafe to ... struct Peripherals { serial: Option<SerialPort>, } impl Peripherals { fn ...
確定! 回上一頁