pub struct RelationQueryInputs<'a, R: TypeResolver, P: AssignabilityOverrideProvider + ?Sized> {
pub interner: &'a dyn TypeDatabase,
pub resolver: &'a R,
pub source: TypeId,
pub target: TypeId,
pub kind: RelationKind,
pub policy: RelationPolicy,
pub context: RelationContext<'a>,
pub overrides: &'a P,
}Expand description
Bundled inputs for relation queries.
Fields§
§interner: &'a dyn TypeDatabase§resolver: &'a R§source: TypeId§target: TypeId§kind: RelationKind§policy: RelationPolicy§context: RelationContext<'a>§overrides: &'a PAuto Trait Implementations§
impl<'a, R, P> Freeze for RelationQueryInputs<'a, R, P>where
P: ?Sized,
impl<'a, R, P> !RefUnwindSafe for RelationQueryInputs<'a, R, P>
impl<'a, R, P> !Send for RelationQueryInputs<'a, R, P>
impl<'a, R, P> !Sync for RelationQueryInputs<'a, R, P>
impl<'a, R, P> Unpin for RelationQueryInputs<'a, R, P>where
P: ?Sized,
impl<'a, R, P> UnsafeUnpin for RelationQueryInputs<'a, R, P>where
P: ?Sized,
impl<'a, R, P> !UnwindSafe for RelationQueryInputs<'a, R, P>
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