pub struct AppArgs {
pub cores: u8,
pub custom: Map<CustomArg>,
}
Expand description
The arguments of the #[app]
attribute
Fields§
§cores: u8
The number of cores the application will use
custom: Map<CustomArg>
Custom arguments
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