pub enum PropertyAccessResolutionKind {
Lazy(DefId),
TypeQuery(SymbolRef),
Application(TypeApplicationId),
TypeParameter {
constraint: Option<TypeId>,
},
NeedsEvaluation,
Union(Vec<TypeId>),
Intersection(Vec<TypeId>),
Readonly(TypeId),
FunctionLike,
Resolved,
}Expand description
Classification for resolving types for property access.
Variants§
Lazy(DefId)
Lazy type (DefId) - needs resolution to actual type
TypeQuery(SymbolRef)
TypeQuery (typeof) - resolve the symbol
Application(TypeApplicationId)
Application - needs evaluation
TypeParameter
Type parameter - follow constraint
NeedsEvaluation
Complex types that need evaluation
Union(Vec<TypeId>)
Union - resolve each member
Intersection(Vec<TypeId>)
Intersection - resolve each member
Readonly(TypeId)
Readonly wrapper - unwrap
FunctionLike
Function or Callable - may need Function interface
Resolved
Already resolved
Trait Implementations§
Source§impl Clone for PropertyAccessResolutionKind
impl Clone for PropertyAccessResolutionKind
Source§fn clone(&self) -> PropertyAccessResolutionKind
fn clone(&self) -> PropertyAccessResolutionKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PropertyAccessResolutionKind
impl RefUnwindSafe for PropertyAccessResolutionKind
impl Send for PropertyAccessResolutionKind
impl Sync for PropertyAccessResolutionKind
impl Unpin for PropertyAccessResolutionKind
impl UnsafeUnpin for PropertyAccessResolutionKind
impl UnwindSafe for PropertyAccessResolutionKind
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