rustc_smir::rustc_smir

Trait Stable

Source
pub trait Stable<'cx> {
    type T;

    // Required method
    fn stable(&self, tables: &mut Tables<'_>) -> Self::T;
}
Expand description

Trait used to convert between an internal MIR type to a Stable MIR type.

Required Associated Types§

Source

type T

The stable representation of the type implementing Stable.

Required Methods§

Source

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Converts an object to the equivalent Stable MIR representation.

Implementations on Foreign Types§

Source§

impl<'tcx> Stable<'tcx> for Const<'tcx>

Source§

type T = MirConst

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for VarDebugInfoContents<'tcx>

Source§

type T = VarDebugInfoContents

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for AllocError

Source§

type T = Error

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for GlobalAlloc<'tcx>

Source§

type T = GlobalAlloc

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ErrorHandled

Source§

type T = Error

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for MonoItem<'tcx>

Source§

type T = MonoItem

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for AggregateKind<'tcx>

Source§

type T = AggregateKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for BinOp

Source§

type T = BinOp

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for BorrowKind

Source§

type T = BorrowKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for CastKind

Source§

type T = CastKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for FakeBorrowKind

Source§

type T = FakeBorrowKind

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for FakeReadCause

Source§

type T = FakeReadCause

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for InlineAsmOperand<'tcx>

Source§

type T = InlineAsmOperand

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for MutBorrowKind

Source§

type T = MutBorrowKind

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for NonDivergingIntrinsic<'tcx>

Source§

type T = NonDivergingIntrinsic

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for NullOp<'tcx>

Source§

type T = NullOp

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Operand<'tcx>

Source§

type T = Operand

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for RetagKind

Source§

type T = RetagKind

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Rvalue<'tcx>

Source§

type T = Rvalue

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for StatementKind<'tcx>

Source§

type T = StatementKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for TerminatorKind<'tcx>

Source§

type T = TerminatorKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for UnOp

Source§

type T = UnOp

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for UnwindAction

Source§

type T = UnwindAction

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for PointerCoercion

Source§

type T = PointerCoercion

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for AdtKind

Source§

type T = AdtKind

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for GenericParamDefKind

Source§

type T = GenericParamDefKind

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for LayoutError<'tcx>

Source§

type T = Error

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for BoundRegionKind

Source§

type T = BoundRegionKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for BoundTyKind

Source§

type T = BoundTyKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for BoundVariableKind

Source§

type T = BoundVariableKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for TraitSpecializationKind

Source§

type T = TraitSpecializationKind

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Conv

Source§

type T = CallConvention

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for PassMode

Source§

type T = PassMode

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Allocation

Source§

type T = Allocation

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ConstAllocation<'tcx>

Source§

type T = Allocation

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for AllocId

Source§

type T = AllocId

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Statement<'tcx>

Source§

type T = Statement

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Body<'tcx>

Source§

type T = Body

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Local

Source§

type T = usize

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for SourceInfo

Source§

type T = SourceInfo

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for UserTypeProjection

Source§

type T = UserTypeProjection

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for VarDebugInfo<'tcx>

Source§

type T = VarDebugInfo

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for VarDebugInfoFragment<'tcx>

Source§

type T = VarDebugInfoFragment

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ConstOperand<'tcx>

Source§

type T = ConstOperand

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Place<'tcx>

Source§

type T = Place

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Terminator<'tcx>

Source§

type T = Terminator

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Const<'tcx>

Source§

type T = TyConst

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for GenericParamDef

Source§

type T = GenericParamDef

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Generics

Source§

type T = Generics

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Instance<'tcx>

Source§

type T = Instance

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Pattern<'tcx>

Source§

type T = Pattern

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Region<'tcx>

Source§

type T = Region

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for FieldDef

Source§

type T = FieldDef

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Ty<'tcx>

Source§

type T = Ty

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for BoundTy

Source§

type T = BoundTy

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ParamConst

Source§

type T = ParamConst

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ParamTy

Source§

type T = ParamTy

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for TraitDef

Source§

type T = TraitDecl

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for UserTypeAnnotationIndex

Source§

type T = usize

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Span

Source§

type T = Span

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Symbol

Source§

type T = String

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ArgAbi<'tcx, Ty<'tcx>>

Source§

type T = ArgAbi

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for FnAbi<'tcx, Ty<'tcx>>

Source§

type T = FnAbi

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for AssertMessage<'tcx>

Source§

type T = AssertMessage

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for PlaceElem<'tcx>

Source§

type T = ProjectionElem

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for GenericArgKind<'tcx>

Source§

type T = GenericArgKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for GenericArgs<'tcx>

Source§

type T = GenericArgs

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for TermKind<'tcx>

Source§

type T = TermKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for AliasTerm<'tcx>

Source§

type T = AliasTerm

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ClauseKind<'tcx>

Source§

type T = ClauseKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for CoercePredicate<'tcx>

Source§

type T = CoercePredicate

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ExistentialPredicate<'tcx>

Source§

type T = ExistentialPredicate

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ExistentialProjection<'tcx>

Source§

type T = ExistentialProjection

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ExistentialTraitRef<'tcx>

Source§

type T = ExistentialTraitRef

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for PredicateKind<'tcx>

Source§

type T = PredicateKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ProjectionPredicate<'tcx>

Source§

type T = ProjectionPredicate

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for SubtypePredicate<'tcx>

Source§

type T = SubtypePredicate

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for TraitPredicate<'tcx>

Source§

type T = TraitPredicate

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for TraitRef<'tcx>

Source§

type T = TraitRef

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for RegionKind<'tcx>

Source§

type T = RegionKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for AliasTy<'tcx>

Source§

type T = AliasTy

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for FnSig<'tcx>

Source§

type T = FnSig

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for TyKind<'tcx>

Source§

type T = TyKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for AddressSpace

Source§

type T = AddressSpace

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for AliasRelationDirection

Source§

type T = AliasRelationDirection

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for AliasTyKind

Source§

type T = AliasKind

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Align

Source§

type T = u64

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for BackendRepr

Source§

type T = ValueAbi

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ClosureKind

Source§

type T = ClosureKind

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for CoroutineKind

Source§

type T = CoroutineKind

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for CoroutineSource

Source§

type T = CoroutineSource

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for DynKind

Source§

type T = DynKind

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Endian

Source§

type T = Endian

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ExternAbi

Source§

type T = Abi

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for FieldIdx

Source§

type T = usize

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for FieldsShape<FieldIdx>

Source§

type T = FieldsShape

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Float

Source§

type T = FloatLength

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for FloatTy

Source§

type T = FloatTy

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ForeignModule

Source§

type T = ForeignModule

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for ImplPolarity

Source§

type T = ImplPolarity

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for IntTy

Source§

type T = IntTy

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Integer

Source§

type T = IntegerLength

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Layout<'tcx>

Source§

type T = Layout

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for LayoutData<FieldIdx, VariantIdx>

Source§

type T = LayoutShape

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Movability

Source§

type T = Movability

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Mutability

Source§

type T = Mutability

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for PredicatePolarity

Source§

type T = PredicatePolarity

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Primitive

Source§

type T = Primitive

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Safety

Source§

type T = Safety

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Scalar

Source§

type T = Scalar

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Size

Source§

type T = MachineSize

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for TagEncoding<VariantIdx>

Source§

type T = TagEncoding

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for TyAndLayout<'tcx, Ty<'tcx>>

Source§

type T = TyAndLayout

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for UintTy

Source§

type T = UintTy

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Variance

Source§

type T = Variance

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for VariantIdx

Source§

type T = VariantIdx

Source§

fn stable(&self, _: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for Variants<FieldIdx, VariantIdx>

Source§

type T = VariantsShape

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx> Stable<'tcx> for WrappingRange

Source§

type T = WrappingRange

Source§

fn stable(&self, _tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx, S, V> Stable<'tcx> for Binder<'tcx, S>
where S: Stable<'tcx, T = V>,

Source§

type T = Binder<V>

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx, S, V> Stable<'tcx> for EarlyBinder<'tcx, S>
where S: Stable<'tcx, T = V>,

Source§

type T = EarlyBinder<V>

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx, T> Stable<'tcx> for &[T]
where T: Stable<'tcx>,

Source§

type T = Vec<<T as Stable<'tcx>>::T>

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx, T> Stable<'tcx> for Option<T>
where T: Stable<'tcx>,

Source§

type T = Option<<T as Stable<'tcx>>::T>

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx, T> Stable<'tcx> for &T
where T: Stable<'tcx>,

Source§

type T = <T as Stable<'tcx>>::T

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx, T> Stable<'tcx> for RangeInclusive<T>
where T: Stable<'tcx>,

Source§

type T = RangeInclusive<<T as Stable<'tcx>>::T>

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx, T> Stable<'tcx> for OutlivesPredicate<'tcx, T>
where T: Stable<'tcx>,

Source§

type T = OutlivesPredicate<<T as Stable<'tcx>>::T, Region>

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx, T, E> Stable<'tcx> for Result<T, E>
where T: Stable<'tcx>, E: Stable<'tcx>,

Source§

type T = Result<<T as Stable<'tcx>>::T, <E as Stable<'tcx>>::T>

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Source§

impl<'tcx, T, U> Stable<'tcx> for (T, U)
where T: Stable<'tcx>, U: Stable<'tcx>,

Source§

type T = (<T as Stable<'tcx>>::T, <U as Stable<'tcx>>::T)

Source§

fn stable(&self, tables: &mut Tables<'_>) -> Self::T

Implementors§