Struct spirt::qptr::lower::QPtrChainStep
source · struct QPtrChainStep {
op: QPtrOp,
dyn_idx: Option<Value>,
}
Expand description
One QPtr
->QPtr
step used in the lowering of Op*AccessChain
.
The op
should take a QPtr
as its first input and produce a QPtr
.
Fields§
§op: QPtrOp
§dyn_idx: Option<Value>
For QPtrOp::HandleArrayIndex
and QPtrOp::DynOffset
, this is the
second input (after the QPtr
which is automatically handled).
Implementations§
source§impl QPtrChainStep
impl QPtrChainStep
fn into_data_inst_kind_and_inputs( self, in_qptr: Value ) -> (DataInstKind, SmallVec<[Value; 2]>)
Auto Trait Implementations§
impl RefUnwindSafe for QPtrChainStep
impl Send for QPtrChainStep
impl Sync for QPtrChainStep
impl Unpin for QPtrChainStep
impl UnwindSafe for QPtrChainStep
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