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 value name
inner_type: Type
Inner value type
mutable: bool
Mutability flag
alloca: bool
Stack allocation flag
malloc: bool
Memory 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