pub struct Board {
pub board: String,
pub sketches: Vec<Sketch>,
pub sizes: Option<Vec<BoardSize>>,
}
Expand description
A data structure to describe the target Board::board
and compilation context.
Includes it’s (Board::sizes
), and which Board::sketches
were compiled.
Fields§
§board: String
The board’s “Fully Qualified Board Name” (FQBN).
A board-specific ID used by Arduino CLI tool.
sketches: Vec<Sketch>
The list of compiled Sketch
es.
sizes: Option<Vec<BoardSize>>
The board’s maximum capacity of memory and flash.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Board
impl<'de> Deserialize<'de> for Board
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Board
impl RefUnwindSafe for Board
impl Send for Board
impl Sync for Board
impl Unpin for Board
impl UnwindSafe for Board
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