Struct quil_rs::program::graph::ScheduledProgram
source · pub struct ScheduledProgram {
pub blocks: IndexMap<String, InstructionBlock>,
}
Fields§
§blocks: IndexMap<String, InstructionBlock>
All blocks within the ScheduledProgram, keyed on string label.
Implementations§
source§impl ScheduledProgram
impl ScheduledProgram
sourcepub fn from_program(program: &Program) -> ScheduleResult<Self>
pub fn from_program(program: &Program) -> ScheduleResult<Self>
Structure a sequential program
Trait Implementations§
source§impl Clone for ScheduledProgram
impl Clone for ScheduledProgram
source§fn clone(&self) -> ScheduledProgram
fn clone(&self) -> ScheduledProgram
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 more