pub struct ProgramState {
pub number: TypeNumber,
pub external_function_number: ExternalFunctionId,
pub constants_in_dependency_order: Vec<ConstantRef>,
pub associated_impls: AssociatedImpls,
}
Fields§
§number: TypeNumber
§external_function_number: ExternalFunctionId
§constants_in_dependency_order: Vec<ConstantRef>
§associated_impls: AssociatedImpls
Implementations§
Source§impl ProgramState
impl ProgramState
pub fn new() -> Self
pub fn allocate_number(&mut self) -> TypeNumber
pub fn allocate_external_function_id(&mut self) -> ExternalFunctionId
Trait Implementations§
Source§impl Debug for ProgramState
impl Debug for ProgramState
Auto Trait Implementations§
impl Freeze for ProgramState
impl !RefUnwindSafe for ProgramState
impl !Send for ProgramState
impl !Sync for ProgramState
impl Unpin for ProgramState
impl !UnwindSafe for ProgramState
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