pub struct Options {
pub runtime: Option<String>,
pub firmware: Option<String>,
pub strict: bool,
}Expand description
Runner settings stored with the project.
Fields§
§runtime: Option<String>micropython, firmware, or a board-specific runtime name.
firmware: Option<String>The image the project boots, relative to the project file.
strict: boolTreat warnings as failures, matching litz --strict.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Options
impl<'de> Deserialize<'de> for Options
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
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Optionswhere
RawVecInner: Send,
impl Sync for Optionswhere
RawVecInner: Sync,
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Optionswhere
RawVecInner: UnwindSafe,
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