pub struct VariableAlloc {
pub name: Option<String>,
pub store_cls: StorageClass,
pub ptr_ty: PointerType,
}Expand description
Variable allocated by OpVariable.
Fields§
§name: Option<String>§store_cls: StorageClassVariable storage class.
ptr_ty: PointerTypePointer type of the variable. It points to an array if it’s a multibind. Otherwise, it directly points to the actual inner type.
Auto Trait Implementations§
impl Freeze for VariableAlloc
impl RefUnwindSafe for VariableAlloc
impl Send for VariableAlloc
impl Sync for VariableAlloc
impl Unpin for VariableAlloc
impl UnwindSafe for VariableAlloc
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