But why can't we just use global variable(s)?. We could make everything a public static, like this. static mut THE_SERIAL_PORT: SerialPort = SerialPort; ...
確定! 回上一頁