pub struct CaptureInfo {
pub state: u32,
pub symbol: SymbolId,
pub hops: Vec<SymbolId>,
pub name: String,
pub ty: Ty,
}Expand description
A local of an inline constraint’s call site (LRM 18.7): its value is read when the call is made and is a constant of the solve.
Fields§
§state: u32The state variable that stands for it (ConstraintSet::states).
symbol: SymbolIdThe local’s key (for a member read through a local handle, the handle).
hops: Vec<SymbolId>The members followed from the local handle Self::symbol to the
captured value (o.lim in a call-site with { x < o.lim }, LRM 18.7:
the whole read is one call-site constant); empty for the local itself.
name: StringIts name as written.
ty: TyIts type.
Trait Implementations§
Source§impl Clone for CaptureInfo
impl Clone for CaptureInfo
Source§impl Debug for CaptureInfo
impl Debug for CaptureInfo
impl Eq for CaptureInfo
Source§impl PartialEq for CaptureInfo
impl PartialEq for CaptureInfo
impl StructuralPartialEq for CaptureInfo
Auto Trait Implementations§
impl Freeze for CaptureInfo
impl RefUnwindSafe for CaptureInfo
impl Send for CaptureInfo
impl Sync for CaptureInfo
impl Unpin for CaptureInfo
impl UnsafeUnpin for CaptureInfo
impl UnwindSafe for CaptureInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.