Struct flux_middle::queries::Providers
source · pub struct Providers {Show 21 fields
pub collect_specs: fn(_: GlobalEnv<'_, '_>) -> Specs,
pub resolve_crate: fn(_: GlobalEnv<'_, '_>) -> ResolverOutput,
pub desugar: for<'genv> fn(_: GlobalEnv<'genv, '_>, _: LocalDefId) -> QueryResult<UnordMap<LocalDefId, Node<'genv>>>,
pub fhir_crate: for<'genv> fn(_: GlobalEnv<'genv, '_>) -> FluxItems<'genv>,
pub qualifiers: fn(_: GlobalEnv<'_, '_>) -> QueryResult<Vec<Qualifier>>,
pub spec_func_defns: fn(_: GlobalEnv<'_, '_>) -> QueryResult<SpecFuncDefns>,
pub spec_func_decl: fn(_: GlobalEnv<'_, '_>, _: Symbol) -> QueryResult<SpecFuncDecl>,
pub adt_sort_def_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<AdtSortDef>,
pub check_wf: for<'genv> fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<Rc<WfckResults>>,
pub adt_def: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<AdtDef>,
pub type_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<EarlyBinder<TyOrCtor>>,
pub variants_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<Opaqueness<EarlyBinder<PolyVariants>>>,
pub fn_sig: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<EarlyBinder<PolyFnSig>>,
pub generics_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<Generics>,
pub refinement_generics_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<RefinementGenerics>,
pub predicates_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<EarlyBinder<GenericPredicates>>,
pub assoc_refinements_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<AssocRefinements>,
pub sort_of_assoc_reft: fn(_: GlobalEnv<'_, '_>, _: LocalDefId, _: Symbol) -> QueryResult<Option<EarlyBinder<FuncSort>>>,
pub assoc_refinement_def: fn(_: GlobalEnv<'_, '_>, _: LocalDefId, _: Symbol) -> QueryResult<EarlyBinder<Lambda>>,
pub default_assoc_refinement_def: fn(_: GlobalEnv<'_, '_>, _: LocalDefId, _: Symbol) -> QueryResult<Option<EarlyBinder<Lambda>>>,
pub item_bounds: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<EarlyBinder<List<Clause>>>,
}
Fields§
§collect_specs: fn(_: GlobalEnv<'_, '_>) -> Specs
§resolve_crate: fn(_: GlobalEnv<'_, '_>) -> ResolverOutput
§desugar: for<'genv> fn(_: GlobalEnv<'genv, '_>, _: LocalDefId) -> QueryResult<UnordMap<LocalDefId, Node<'genv>>>
§fhir_crate: for<'genv> fn(_: GlobalEnv<'genv, '_>) -> FluxItems<'genv>
§qualifiers: fn(_: GlobalEnv<'_, '_>) -> QueryResult<Vec<Qualifier>>
§spec_func_defns: fn(_: GlobalEnv<'_, '_>) -> QueryResult<SpecFuncDefns>
§spec_func_decl: fn(_: GlobalEnv<'_, '_>, _: Symbol) -> QueryResult<SpecFuncDecl>
§adt_sort_def_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<AdtSortDef>
§check_wf: for<'genv> fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<Rc<WfckResults>>
§adt_def: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<AdtDef>
§type_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<EarlyBinder<TyOrCtor>>
§variants_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<Opaqueness<EarlyBinder<PolyVariants>>>
§fn_sig: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<EarlyBinder<PolyFnSig>>
§generics_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<Generics>
§refinement_generics_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<RefinementGenerics>
§predicates_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<EarlyBinder<GenericPredicates>>
§assoc_refinements_of: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<AssocRefinements>
§sort_of_assoc_reft: fn(_: GlobalEnv<'_, '_>, _: LocalDefId, _: Symbol) -> QueryResult<Option<EarlyBinder<FuncSort>>>
§assoc_refinement_def: fn(_: GlobalEnv<'_, '_>, _: LocalDefId, _: Symbol) -> QueryResult<EarlyBinder<Lambda>>
§default_assoc_refinement_def: fn(_: GlobalEnv<'_, '_>, _: LocalDefId, _: Symbol) -> QueryResult<Option<EarlyBinder<Lambda>>>
§item_bounds: fn(_: GlobalEnv<'_, '_>, _: LocalDefId) -> QueryResult<EarlyBinder<List<Clause>>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Providers
impl RefUnwindSafe for Providers
impl Send for Providers
impl Sync for Providers
impl Unpin for Providers
impl UnwindSafe for Providers
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more