Modulesยง
Structsยง
- We encapsulate the interface for identifying heap items in a struct named
HeapItem
. This struct is a zero-sized type (ZST), so creating and using it does not incur any overhead. These interfaces typically take at least two fixed inputs. One is the context metadata ofrCanary
, which stores the cache for ADT analysis (of course, users do not need to know the specific information stored). The second input is the type that the user needs to process, along with other parameters. - Isolated
Param ๐ - We encapsulate the interface for identifying isolated parameters in a struct named
IsolatedParameter
. This struct is a zero-sized type (ZST), so creating and using it does not incur any overhead. These interfaces typically take at least two fixed inputs. One is the context metadata ofrCanary
, which stores the cache for ADT analysis (of course, users do not need to know the specific information stored). The second input is the type that the user needs to process, along with other parameters. - Owner
Propagation ๐
Functionsยง
Type Aliasesยง
- Parameters ๐
- TyMap ๐