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 moreAuto Trait Implementations§
impl RefUnwindSafe for ScheduledProgram
impl Send for ScheduledProgram
impl Sync for ScheduledProgram
impl Unpin for ScheduledProgram
impl UnwindSafe for ScheduledProgram
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