pub enum StaticPropertySource {
Properties(Vec<PropertyInfo>),
RecurseMembers(Vec<TypeId>),
RecurseSingle(TypeId),
NeedsEvaluation,
NeedsApplicationEvaluation,
None,
}Expand description
Result of extracting static properties from a type.
This enum allows the caller to handle recursion and type evaluation
while keeping the TypeData matching logic in the solver layer.
Variants§
Properties(Vec<PropertyInfo>)
Direct properties from Callable, Object, or ObjectWithIndex types.
RecurseMembers(Vec<TypeId>)
Member types that should be recursively processed (Union/Intersection).
RecurseSingle(TypeId)
Single type to recurse into (TypeParameter constraint, ReadonlyType inner).
NeedsEvaluation
Type that needs evaluation before property extraction (Conditional, Mapped, etc.).
NeedsApplicationEvaluation
Type that needs application evaluation (Application type).
None
No properties available (primitives, error types, etc.).
Trait Implementations§
Source§impl Clone for StaticPropertySource
impl Clone for StaticPropertySource
Source§fn clone(&self) -> StaticPropertySource
fn clone(&self) -> StaticPropertySource
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 StaticPropertySource
impl RefUnwindSafe for StaticPropertySource
impl Send for StaticPropertySource
impl Sync for StaticPropertySource
impl Unpin for StaticPropertySource
impl UnsafeUnpin for StaticPropertySource
impl UnwindSafe for StaticPropertySource
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