pub struct TypeInfo {
pub _type: VariableType,
pub source: Option<Module<()>>,
}
Expand description
Struct containing type information about a certain expression.
Fields§
§_type: VariableType
The concrete type of the expression associated with this type information.
source: Option<Module<()>>
The module, where this expression (or at least the value of this expression) originates from.
Implementations§
Trait Implementations§
impl Eq for TypeInfo
impl StructuralPartialEq for TypeInfo
Auto Trait Implementations§
impl Freeze for TypeInfo
impl !RefUnwindSafe for TypeInfo
impl !Send for TypeInfo
impl !Sync for TypeInfo
impl Unpin for TypeInfo
impl !UnwindSafe for TypeInfo
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