Struct spirq::var::VariableAlloc
source · 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: StorageClass
Variable storage class.
ptr_ty: PointerType
Pointer 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