MCPcopy Create free account
hub / github.com/MinerSebas/bevy_lint / QueryData

Class QueryData

src/system_lints/query_lints.rs:246–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244#[allow(clippy::type_complexity)]
245#[derive(Debug, Default, Clone)]
246struct QueryData<'tcx> {
247 data: Vec<(TyKind<'tcx>, Vec<(Mutability, Span)>)>,
248 option: Vec<(QueryData<'tcx>, Span)>,
249 with: Vec<(TyKind<'tcx>, Vec<Span>)>,
250 without: Vec<(TyKind<'tcx>, Vec<Span>)>,
251 added: Vec<(TyKind<'tcx>, Vec<Span>)>,
252 changed: Vec<(TyKind<'tcx>, Vec<Span>)>,
253 or: Vec<(Vec<QueryData<'tcx>>, Span)>,
254 meta: QueryDataMeta,
255}
256
257impl<'tcx> QueryData<'tcx> {
258 fn fill_with_world_query(&mut self, world_query: &WorldQuery<'tcx>) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected