pub struct ResolvedProgramTypes {
pub int_type: ResolvedIntTypeRef,
pub float_type: ResolvedFloatTypeRef,
pub string_type: ResolvedStringTypeRef,
pub bool_type: ResolvedBoolTypeRef,
pub unit_type: ResolvedUnitTypeRef,
pub exclusive_range_type: ResolvedExclusiveRangeTypeRef,
}
Fields§
§int_type: ResolvedIntTypeRef
§float_type: ResolvedFloatTypeRef
§string_type: ResolvedStringTypeRef
§bool_type: ResolvedBoolTypeRef
§unit_type: ResolvedUnitTypeRef
§exclusive_range_type: ResolvedExclusiveRangeTypeRef
Implementations§
Source§impl ResolvedProgramTypes
impl ResolvedProgramTypes
pub fn new() -> Self
pub fn unit_type(&self) -> ResolvedType
pub fn int_type(&self) -> ResolvedType
pub fn float_type(&self) -> ResolvedType
pub fn string_type(&self) -> ResolvedType
pub fn bool_type(&self) -> ResolvedType
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedProgramTypes
impl RefUnwindSafe for ResolvedProgramTypes
impl !Send for ResolvedProgramTypes
impl !Sync for ResolvedProgramTypes
impl Unpin for ResolvedProgramTypes
impl UnwindSafe for ResolvedProgramTypes
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