Struct semantic_analyzer::types::Value
source · pub struct Value {
pub inner_name: InnerValueName,
pub inner_type: Type,
pub mutable: bool,
pub alloca: bool,
pub malloc: bool,
}
Expand description
Values
Can contain inner data: name, type, memory allocation status:
- alloca - stack allocation
- malloc - malloc allocation
Fields§
§inner_name: InnerValueName
§inner_type: Type
§mutable: bool
§alloca: bool
§malloc: bool
Trait Implementations§
source§impl PartialEq<Value> for Value
impl PartialEq<Value> for Value
impl Eq for Value
impl StructuralEq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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