pub struct LoadedProgram<'d, PIO: Instance> {
pub used_memory: InstanceMemory<'d, PIO>,
pub origin: u8,
pub wrap: Wrap,
pub side_set: SideSet,
}Expand description
A loaded PIO program.
Fields§
§used_memory: InstanceMemory<'d, PIO>Memory used by program.
origin: u8Program origin for loading.
wrap: WrapWrap controls what to do once program is done executing.
side_set: SideSetData for ‘side’ set instruction parameters.
Auto Trait Implementations§
impl<'d, PIO> !UnwindSafe for LoadedProgram<'d, PIO>
impl<'d, PIO> Freeze for LoadedProgram<'d, PIO>where
InstanceMemory<'d, PIO>: Freeze,
impl<'d, PIO> RefUnwindSafe for LoadedProgram<'d, PIO>where
InstanceMemory<'d, PIO>: RefUnwindSafe,
impl<'d, PIO> Send for LoadedProgram<'d, PIO>where
InstanceMemory<'d, PIO>: Send,
impl<'d, PIO> Sync for LoadedProgram<'d, PIO>where
InstanceMemory<'d, PIO>: Sync,
impl<'d, PIO> Unpin for LoadedProgram<'d, PIO>where
InstanceMemory<'d, PIO>: Unpin,
impl<'d, PIO> UnsafeUnpin for LoadedProgram<'d, PIO>where
InstanceMemory<'d, PIO>: UnsafeUnpin,
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