pub struct TypedProgram {
pub program: Program,
pub process_ty: Type,
}Expand description
The typed result of inference: the program’s definitions plus the resolved
type of process and the final substitution.
Fields§
§program: ProgramThe original program (unchanged AST).
process_ty: TypeResolved diagram type of process (arities + scalars, substitution applied).
Trait Implementations§
Source§impl Clone for TypedProgram
impl Clone for TypedProgram
Source§fn clone(&self) -> TypedProgram
fn clone(&self) -> TypedProgram
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for TypedProgram
impl RefUnwindSafe for TypedProgram
impl Send for TypedProgram
impl Sync for TypedProgram
impl Unpin for TypedProgram
impl UnsafeUnpin for TypedProgram
impl UnwindSafe for TypedProgram
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