pub struct WfckResults {
pub owner: FluxOwnerId,
param_sorts: UnordMap<ParamId, Sort>,
bin_op_sorts: ItemLocalMap<Sort>,
fn_app_sorts: ItemLocalMap<List<SortArg>>,
coercions: ItemLocalMap<Vec<Coercion>>,
field_projs: ItemLocalMap<FieldProj>,
node_sorts: ItemLocalMap<Sort>,
record_ctors: ItemLocalMap<RecordCtor>,
}Fields§
§owner: FluxOwnerId§param_sorts: UnordMap<ParamId, Sort>§bin_op_sorts: ItemLocalMap<Sort>§fn_app_sorts: ItemLocalMap<List<SortArg>>§coercions: ItemLocalMap<Vec<Coercion>>§field_projs: ItemLocalMap<FieldProj>§node_sorts: ItemLocalMap<Sort>§record_ctors: ItemLocalMap<RecordCtor>Implementations§
Source§impl WfckResults
impl WfckResults
pub fn new(owner: impl Into<FluxOwnerId>) -> Self
pub fn param_sorts_mut(&mut self) -> &mut UnordMap<ParamId, Sort>
pub fn param_sorts(&self) -> &UnordMap<ParamId, Sort>
pub fn bin_op_sorts_mut(&mut self) -> LocalTableInContextMut<'_, Sort>
pub fn fn_app_sorts_mut(&mut self) -> LocalTableInContextMut<'_, List<SortArg>>
pub fn fn_app_sorts(&self) -> LocalTableInContext<'_, List<SortArg>>
pub fn bin_op_sorts(&self) -> LocalTableInContext<'_, Sort>
pub fn coercions_mut(&mut self) -> LocalTableInContextMut<'_, Vec<Coercion>>
pub fn coercions(&self) -> LocalTableInContext<'_, Vec<Coercion>>
pub fn field_projs_mut(&mut self) -> LocalTableInContextMut<'_, FieldProj>
pub fn field_projs(&self) -> LocalTableInContext<'_, FieldProj>
pub fn node_sorts_mut(&mut self) -> LocalTableInContextMut<'_, Sort>
pub fn node_sorts(&self) -> LocalTableInContext<'_, Sort>
pub fn record_ctors_mut(&mut self) -> LocalTableInContextMut<'_, RecordCtor>
pub fn record_ctors(&self) -> LocalTableInContext<'_, RecordCtor>
Auto Trait Implementations§
impl DynSend for WfckResults
impl DynSync for WfckResults
impl Freeze for WfckResults
impl RefUnwindSafe for WfckResults
impl Send for WfckResults
impl Sync for WfckResults
impl Unpin for WfckResults
impl UnsafeUnpin for WfckResults
impl UnwindSafe for WfckResults
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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§impl<K> IntoQueryKey<K> for K
impl<K> IntoQueryKey<K> for K
§fn into_query_key(self) -> K
fn into_query_key(self) -> K
Argument conversion from
Self to K.
This should always be a very cheap conversion, e.g. [LocalDefId::to_def_id].