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: InnerValueNameInner value name
inner_type: TypeInner value type
mutable: boolMutability flag
alloca: boolStack allocation flag
malloc: boolMemory allocation flag
Trait Implementations§
impl Eq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)