Struct quil_rs::program::graph::ScheduledProgram
source · pub struct ScheduledProgram<'a> {
pub blocks: IndexMap<String, InstructionBlock<'a>>,
}
Fields§
§blocks: IndexMap<String, InstructionBlock<'a>>
All blocks within the ScheduledProgram, keyed on string label.
Implementations§
source§impl<'a> ScheduledProgram<'a>
impl<'a> ScheduledProgram<'a>
sourcepub fn from_program(
program: &'a Program,
custom_handler: &mut InstructionHandler
) -> ScheduleResult<Self>
pub fn from_program( program: &'a Program, custom_handler: &mut InstructionHandler ) -> ScheduleResult<Self>
Structure a sequential program
Trait Implementations§
source§impl<'a> Clone for ScheduledProgram<'a>
impl<'a> Clone for ScheduledProgram<'a>
source§fn clone(&self) -> ScheduledProgram<'a>
fn clone(&self) -> ScheduledProgram<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for ScheduledProgram<'a>
impl<'a> Send for ScheduledProgram<'a>
impl<'a> Sync for ScheduledProgram<'a>
impl<'a> Unpin for ScheduledProgram<'a>
impl<'a> UnwindSafe for ScheduledProgram<'a>
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