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

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> SInto<S, HostEffectPredicate> for HostEffectPredicate<'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<'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, 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, ExternAbi> for ExternAbi

Source§

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

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: BaseState<'tcx>> SInto<S, Align> for Align

Source§

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

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, AliasRelationDirection> for AliasRelationDirection

Source§

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

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> for BuiltinTraitData<'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, DestructData> for DestructData<'tcx>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ImplExprPathChunk> for PathChunk<'tcx>

Source§

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

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, Term> for Term<'tcx>

Source§

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

Source§

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

Source§

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

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, HashConsed<ImplExprContents>> for ImplExpr<'tcx>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

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, BoundTy> for BoundTy<'tcx>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, ImplExprContents> for ImplExpr<'tcx>

Source§

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

Source§

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

Source§

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

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, Predicate> for Predicate<'tcx>

Source§

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

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, ReprOptions> for ReprOptions

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<'tcx, S: UnderOwnerState<'tcx>, T1, T2> SInto<S, Binder<T2>> for Binder<'tcx, T1>
where T1: SInto<StateWithBinder<'tcx>, T2>,

Source§

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

Source§

impl<'tcx, S: UnderOwnerState<'tcx>, T, U> SInto<S, OutlivesPredicate<U>> for OutlivesPredicate<'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: UnderBinderState<'tcx>> SInto<S, ClauseKind> for ClauseKind<'tcx>

Source§

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

Source§

impl<'tcx, S: UnderBinderState<'tcx>> SInto<S, PredicateKind> for PredicateKind<'tcx>

Source§

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

Source§

impl<'tcx, S: UnderBinderState<'tcx>> SInto<S, ProjectionPredicate> for ProjectionPredicate<'tcx>

Source§

impl<S> SInto<S, AdtFlags> for AdtFlags

Source§

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

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, 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, u64> for AllocId

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 usize

Source§

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

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, String> for String

Source§

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

Source§

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

Source§

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

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, Option<D>> for Option<T>

Source§

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

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: Clone, T: SInto<S, D>> SInto<S, Vec<D>> for [T]

Source§

fn sinto(&self, s: &S) -> Vec<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, J: Idx, I: Idx + SInto<S, J>, U: Clone, T: SInto<S, U>> SInto<S, IndexVec<J, U>> for IndexSlice<I, T>

Source§

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

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>

Implementors§

Source§

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

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, GenericPredicateId> for ItemPredicateId

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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