pub struct InitArgs {
pub core: u8,
pub late: Set<Ident>,
pub resources: Resources,
pub spawn: Set<Ident>,
pub schedule: Set<Ident>,
/* private fields */
}
Expand description
init
context metadata
Fields§
§core: u8
Which core this context belongs to?
late: Set<Ident>
Late resources that will be initialized by this core
NOTE do not use this field for codegen; use Analysis.late_resources
instead
resources: Resources
Resources that can be accessed from this context
spawn: Set<Ident>
Software tasks that can be spawned from this context
schedule: Set<Ident>
Software tasks that can be scheduled from this context
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InitArgs
impl RefUnwindSafe for InitArgs
impl !Send for InitArgs
impl !Sync for InitArgs
impl Unpin for InitArgs
impl UnwindSafe for InitArgs
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