pub struct AppArgs {
pub pacs: Vec<Path>,
pub peripherals: bool,
pub cores: u32,
}Expand description
Arguments provided to the #[app(…)] macro attribute, this includes paths to PACs, number of cores, and peripherals option.
Fields§
§pacs: Vec<Path>§peripherals: bool§cores: u32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppArgs
impl RefUnwindSafe for AppArgs
impl !Send for AppArgs
impl !Sync for AppArgs
impl Unpin for AppArgs
impl UnwindSafe for AppArgs
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