Skip to main content

SInto

Trait SInto 

Source
pub trait SInto<S, To>: PointeeSized {
    // Required method
    fn sinto(&self, s: &S) -> To;
}

Required Methods§

Source

fn sinto(&self, s: &S) -> To

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, S: UnderOwnerState<'a>> SInto<S, DisambiguatedDefPathItem> for DisambiguatedDefPathData

Source§

impl<'ctx, S: UnderOwnerState<'ctx>> SInto<S, DefPathItem> for DefPathData

Source§

fn sinto(&self, s: &S) -> DefPathItem

Source§

impl<'tcx, S, T, U> SInto<S, DynBinder<'tcx, U>> for DynBinder<'tcx, T, DefId>
where S: UnderOwnerState<'tcx>, T: SInto<S, U>,

Source§

fn sinto(&self, s: &S) -> DynBinder<'tcx, U>

Source§

impl<'tcx, S: BaseState<'tcx>> SInto<S, (Symbol, Span)> for Ident

Source§

fn sinto(&self, s: &S) -> Ident

Source§

impl<'tcx, S: BaseState<'tcx>> SInto<S, Align> for Align

Source§

fn sinto(&self, _s: &S) -> Align

Source§

impl<'tcx, S: BaseState<'tcx>> SInto<S, AssocKind> for AssocKind

Source§

fn sinto(&self, _tcx: &S) -> AssocKind

Source§

impl<'tcx, S: BaseState<'tcx>> SInto<S, AssocTypeData> for AssocTypeData

Source§

fn sinto(&self, _tcx: &S) -> AssocTypeData

Source§

impl<'tcx, S: BaseState<'tcx>> SInto<S, ImplTraitInTraitData> for ImplTraitInTraitData

Source§

impl<'tcx, S: BaseState<'tcx>> SInto<S, InlineAttr> for InlineAttr

Source§

fn sinto(&self, _s: &S) -> InlineAttr

Source§

impl<'tcx, S: BaseState<'tcx>> SInto<S, LitIntType> for LitIntType

Source§

fn sinto(&self, gstate: &S) -> LitIntType

Source§

impl<'tcx, S: UnderOwnerState<'tcx>, T1, T2> SInto<S, Binder<T2>> for Binder<'tcx, T1>
where T1: SInto<(StateWithOwner<'tcx>, UnitBinder<'tcx>), T2> + BinderVariances<'tcx>,

Source§

fn sinto(&self, s: &S) -> Binder<T2>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>, T, U> SInto<S, OutlivesPredicate<U>> for OutlivesClause<'tcx, T>
where T: SInto<S, U>,

Source§

fn sinto(&self, s: &S) -> OutlivesPredicate<U>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>, T: SInto<S, U>, U> SInto<S, Canonical<U>> for Canonical<'tcx, T>

Source§

fn sinto(&self, s: &S) -> Canonical<U>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>, T: SInto<S, U>, U> SInto<S, Placeholder<U>> for Placeholder<TyCtxt<'tcx>, T>

Source§

fn sinto(&self, s: &S) -> Placeholder<U>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<(S, Binder<TyCtxt<'tcx>, ()>), ClauseKind<'tcx>> for ClauseKind<'tcx>

Source§

fn sinto(&self, tcx: &(S, UnitBinder<'tcx>)) -> ClauseKind<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<(S, Binder<TyCtxt<'tcx>, ()>), PredicateKind<'tcx>> for PredicateKind<'tcx>

Source§

fn sinto(&self, tcx: &(S, UnitBinder<'tcx>)) -> PredicateKind<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<(S, Binder<TyCtxt<'tcx>, ()>), ProjectionPredicate<'tcx>> for ProjectionClause<'tcx>

Source§

fn sinto(&self, s: &(S, UnitBinder<'tcx>)) -> ProjectionPredicate<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, AdtKind> for AdtKind

Source§

fn sinto(&self, _s: &S) -> AdtKind

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, BoundRegion> for BoundRegion<'tcx>

Source§

fn sinto(&self, s: &S) -> BoundRegion

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, BoundRegionKind> for BoundRegionKind<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, BoundTy> for BoundTy<'tcx>

Source§

fn sinto(&self, s: &S) -> BoundTy

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, BoundTyKind> for BoundTyKind<'tcx>

Source§

fn sinto(&self, s: &S) -> BoundTyKind

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, BoundVarIndexKind> for BoundVarIndexKind

Source§

fn sinto(&self, gstate: &S) -> BoundVarIndexKind

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, BoundVariableKind> for BoundVariableKind<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, BuiltinTraitData<'tcx>> for BuiltinTraitData<'tcx>

Source§

fn sinto(&self, s: &S) -> BuiltinTraitData<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, CanonicalUserTypeAnnotation<'tcx>> for CanonicalUserTypeAnnotation<'tcx>

Source§

fn sinto(&self, gstate: &S) -> CanonicalUserTypeAnnotation<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, Clause<'tcx>> for Clause<'tcx>

Source§

fn sinto(&self, s: &S) -> Clause<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, Clause<'tcx>> for PolyTraitClause<'tcx>

Source§

fn sinto(&self, s: &S) -> Clause<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ClosureKind> for ClosureKind

Source§

fn sinto(&self, _tcx: &S) -> ClosureKind

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, CoercePredicate<'tcx>> for CoercePredicate<'tcx>

Source§

fn sinto(&self, tcx: &S) -> CoercePredicate<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ConstOperand<'tcx>> for ConstOperand<'tcx>

Source§

fn sinto(&self, s: &S) -> ConstOperand<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ConstantByteProvenance<'tcx>> for AllocTarget<'tcx>

The provenance to give to the bytes of a pointer into the given allocation.

Source§

fn sinto(&self, s: &S) -> ConstantByteProvenance<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ConstantExpr<'tcx>> for Const<'tcx>

Source§

fn sinto(&self, s: &S) -> ConstantExpr<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ConstantExpr<'tcx>> for Const<'tcx>

Source§

fn sinto(&self, s: &S) -> ConstantExpr<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ConstantExpr<'tcx>> for Value<'tcx>

Source§

fn sinto(&self, s: &S) -> ConstantExpr<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, DestructData<'tcx>> for DestructData<'tcx>

Source§

fn sinto(&self, s: &S) -> DestructData<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, DiscriminantDefinition> for VariantDiscr

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, DiscriminantValue<'tcx>> for Discr<'tcx>

Source§

fn sinto(&self, gstate: &S) -> DiscriminantValue<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, EarlyParamRegion> for EarlyParamRegion

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ExistentialPredicate<'tcx>> for ExistentialPredicate<'tcx>

Source§

fn sinto(&self, state: &S) -> ExistentialPredicate<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ExistentialProjection<'tcx>> for ExistentialProjection<'tcx>

Source§

fn sinto(&self, state: &S) -> ExistentialProjection<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ExistentialTraitRef<'tcx>> for ExistentialTraitRef<'tcx>

Source§

fn sinto(&self, state: &S) -> ExistentialTraitRef<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, FnPtrTarget<'tcx>> for FnTarget<'tcx>

Source§

fn sinto(&self, s: &S) -> FnPtrTarget<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, GenericArg<'tcx>> for GenericArg<'tcx>

Source§

fn sinto(&self, s: &S) -> GenericArg<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, GenericArg<'tcx>> for GenericArgKind<'tcx>

Source§

fn sinto(&self, s: &S) -> GenericArg<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, GenericParamDef<'tcx>> for GenericParamDef

Source§

fn sinto(&self, s: &S) -> GenericParamDef<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, GenericPredicate<'tcx>> for DynPredicate<'tcx, DefId>

Source§

fn sinto(&self, s: &S) -> GenericPredicate<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ItemRef<'tcx>> for ItemRef<'tcx, DefId>

Source§

fn sinto(&self, s: &S) -> ItemRef<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ItemRef<'tcx>> for TraitRef<'tcx>

Source§

fn sinto(&self, s: &S) -> TraitRef<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ItemRefContents<'tcx>> for ItemRef<'tcx, DefId>

Source§

fn sinto(&self, s: &S) -> ItemRefContents<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, LateParamRegion> for LateParamRegion<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, LateParamRegionKind> for LateParamRegionKind

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ParamTy> for ParamTy

Source§

fn sinto(&self, gstate: &S) -> ParamTy

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, Pattern<'tcx>> for Pattern<'tcx>

Source§

fn sinto(&self, s: &S) -> Pattern<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, Pattern<'tcx>> for PatternKind<'tcx>

Source§

fn sinto(&self, gstate: &S) -> Pattern<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, Predicate<'tcx>> for Predicate<'tcx>

Source§

fn sinto(&self, s: &S) -> Predicate<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, Region> for Region<'tcx>

Source§

fn sinto(&self, s: &S) -> Region

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, RegionKind> for RegionKind<'tcx>

Source§

fn sinto(&self, gstate: &S) -> RegionKind

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ReprOptions<'tcx>> for ReprOptions

Source§

fn sinto(&self, s: &S) -> ReprOptions<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, SubtypePredicate<'tcx>> for SubtypePredicate<'tcx>

Source§

fn sinto(&self, tcx: &S) -> SubtypePredicate<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, Term<'tcx>> for Term<'tcx>

Source§

fn sinto(&self, s: &S) -> Term<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, TraitPredicate<'tcx>> for TraitClause<'tcx>

Source§

fn sinto(&self, tcx: &S) -> TraitPredicate<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, TraitProof<'tcx>> for TraitProof<'tcx, DefId>

Source§

fn sinto(&self, s: &S) -> TraitProof<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, TraitProofContents<'tcx>> for TraitProofContents<'tcx, DefId>

Source§

fn sinto(&self, s: &S) -> TraitProofContents<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, TraitProofImpliedPredicate<'tcx>> for ImpliedPredicate<'tcx, DefId>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, TraitProofKind<'tcx>> for TraitProofKind<'tcx, DefId>

Source§

fn sinto(&self, s: &S) -> TraitProofKind<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, Ty<'tcx>> for Ty<'tcx>

Source§

fn sinto(&self, s: &S) -> Ty<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, TyFnSig<'tcx>> for FnSig<'tcx>

Source§

fn sinto(&self, s: &S) -> TyFnSig<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, TyGenerics<'tcx>> for Generics

Source§

fn sinto(&self, state: &S) -> TyGenerics<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, TyKind<'tcx>> for TyKind<'tcx>

Source§

fn sinto(&self, s: &S) -> TyKind<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, TypeAndMut<'tcx>> for TypeAndMut<'tcx>

Source§

fn sinto(&self, gstate: &S) -> TypeAndMut<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, UserArgs<'tcx>> for UserArgs<'tcx>

Source§

fn sinto(&self, gstate: &S) -> UserArgs<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, UserSelfTy<'tcx>> for UserSelfTy<'tcx>

Source§

fn sinto(&self, gstate: &S) -> UserSelfTy<'tcx>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, UserType> for UserType<'tcx>

Source§

fn sinto(&self, _s: &S) -> UserType

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, Vec<GenericArg<'tcx>>> for GenericArgsRef<'tcx>

Source§

fn sinto(&self, s: &S) -> Vec<GenericArg<'tcx>>

Source§

impl<'tcx, S> SInto<S, HostEffectClause> for HostEffectClause<'tcx>

Source§

impl<'tcx, S> SInto<S, InferTy> for InferTy

Source§

fn sinto(&self, gstate: &S) -> InferTy

Source§

impl<'tcx, S> SInto<S, NormalizesTo> for NormalizesTo<'tcx>

Source§

fn sinto(&self, _: &S) -> NormalizesTo

Source§

impl<S, AA, BB, CC, A: SInto<S, AA>, B: SInto<S, BB>, C: SInto<S, CC>> SInto<S, (AA, BB, CC)> for (A, B, C)

Source§

fn sinto(&self, s: &S) -> (AA, BB, CC)

Source§

impl<S, D, T: SInto<S, D>> SInto<S, D> for &T

Source§

fn sinto(&self, s: &S) -> D

Source§

impl<S, D, T: SInto<S, D>> SInto<S, D> for Box<T>

Source§

fn sinto(&self, s: &S) -> D

Source§

impl<S, D, T: SInto<S, D>> SInto<S, Option<D>> for Option<T>

Source§

fn sinto(&self, s: &S) -> Option<D>

Source§

impl<S, D: Clone, T: SInto<S, D>> SInto<S, Vec<D>> for Box<[T]>

Source§

fn sinto(&self, s: &S) -> Vec<D>

Source§

impl<S, D: Clone, T: SInto<S, D>> SInto<S, Vec<D>> for Vec<T>

Source§

fn sinto(&self, s: &S) -> Vec<D>

Source§

impl<S, D: Clone, T: SInto<S, D>> SInto<S, Vec<D>> for [T]

Source§

fn sinto(&self, s: &S) -> Vec<D>

Source§

impl<S, LL, RR, L: SInto<S, LL>, R: SInto<S, RR>> SInto<S, (LL, RR)> for (L, R)

Source§

fn sinto(&self, s: &S) -> (LL, RR)

Source§

impl<S, T: SInto<S, U>, U> SInto<S, Visibility<U>> for Visibility<T>

Source§

fn sinto(&self, s: &S) -> Visibility<U>

Source§

impl<S, U, T: SInto<S, U>> SInto<S, Vec<U>> for List<T>

Source§

fn sinto(&self, s: &S) -> Vec<U>

Source§

impl<S> SInto<S, ()> for ()

Source§

fn sinto(&self, _: &S)

Source§

impl<S> SInto<S, ErrorGuaranteed> for ErrorGuaranteed

Source§

impl<S> SInto<S, FloatTy> for FloatTy

Source§

fn sinto(&self, _s: &S) -> FloatTy

Source§

impl<S> SInto<S, IntTy> for IntTy

Source§

fn sinto(&self, _s: &S) -> IntTy

Source§

impl<S> SInto<S, ParamConst> for ParamConst

Source§

fn sinto(&self, gstate: &S) -> ParamConst

Source§

impl<S> SInto<S, String> for String

Source§

fn sinto(&self, _: &S) -> String

Source§

impl<S> SInto<S, UintTy> for UintTy

Source§

fn sinto(&self, _s: &S) -> UintTy

Source§

impl<S> SInto<S, Variance> for Variance

Source§

fn sinto(&self, _s: &S) -> Variance

Source§

impl<S> SInto<S, bool> for bool

Source§

fn sinto(&self, _: &S) -> bool

Source§

impl<S> SInto<S, char> for char

Source§

fn sinto(&self, _: &S) -> char

Source§

impl<S> SInto<S, i8> for i8

Source§

fn sinto(&self, _: &S) -> i8

Source§

impl<S> SInto<S, i16> for i16

Source§

fn sinto(&self, _: &S) -> i16

Source§

impl<S> SInto<S, i32> for i32

Source§

fn sinto(&self, _: &S) -> i32

Source§

impl<S> SInto<S, i64> for i64

Source§

fn sinto(&self, _: &S) -> i64

Source§

impl<S> SInto<S, i128> for i128

Source§

fn sinto(&self, _: &S) -> i128

Source§

impl<S> SInto<S, isize> for isize

Source§

fn sinto(&self, _: &S) -> isize

Source§

impl<S> SInto<S, u8> for u8

Source§

fn sinto(&self, _: &S) -> u8

Source§

impl<S> SInto<S, u16> for u16

Source§

fn sinto(&self, _: &S) -> u16

Source§

impl<S> SInto<S, u32> for u32

Source§

fn sinto(&self, _: &S) -> u32

Source§

impl<S> SInto<S, u64> for u64

Source§

fn sinto(&self, _: &S) -> u64

Source§

impl<S> SInto<S, u128> for u128

Source§

fn sinto(&self, _: &S) -> u128

Source§

impl<S> SInto<S, usize> for BoundVar

Source§

fn sinto(&self, _: &S) -> BoundVar

Source§

impl<S> SInto<S, usize> for DebruijnIndex

Source§

fn sinto(&self, _: &S) -> DebruijnIndex

Source§

impl<S> SInto<S, usize> for RegionVid

Source§

fn sinto(&self, _: &S) -> RegionVid

Source§

impl<S> SInto<S, usize> for usize

Source§

fn sinto(&self, _: &S) -> usize

Implementors§

Source§

impl<'s, S: BaseState<'s>> SInto<S, DefId> for charon_driver::hax::RDefId

Source§

impl<'s, S: UnderOwnerState<'s>, T: SInto<S, U>, U> SInto<S, Spanned<U>> for Spanned<T>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, GenericPredicate<'tcx>> for ItemPredicate<'tcx, DefId>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, GenericPredicateId> for ItemPredicateId<DefId>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, GenericPredicates<'tcx>> for ItemPredicates<'tcx, DefId>

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ItemRef<'tcx>> for GlobalRef

The global standing for self.

Source§

impl<S> SInto<S, ByteSymbol> for ByteSymbol

Source§

impl<S> SInto<S, CtorKind> for CtorKind

Source§

impl<S> SInto<S, CtorOf> for CtorOf

Source§

impl<S> SInto<S, DefId> for charon_driver::hax::DefId

Source§

impl<S> SInto<S, DefKind> for DefKind

Source§

impl<S> SInto<S, ExternAbi> for ExternAbi

Source§

impl<S> SInto<S, FieldIdx> for FieldIdx

Source§

impl<S> SInto<S, MacroKinds> for MacroKinds

Source§

impl<S> SInto<S, Mutability> for Mutability

Source§

impl<S> SInto<S, Safety> for Safety

Source§

impl<S> SInto<S, SolverTraitLangItem> for SolverTraitLangItem

Source§

impl<S> SInto<S, Span> for Span

Source§

impl<S> SInto<S, Symbol> for Symbol

Source§

impl<S> SInto<S, VariantIdx> for VariantIdx

Source§

impl<S> SInto<S, u64> for AllocId