Structs§
- This is a wrapper type that can hold any object opaquely (see
scope_any
) and will executeDrop
for the contained object.
Traits§
Functions§
- This converts anything into a single type, so you can put it in a collection. The primary use for this is storing guard/drop values which don’t do anything while alive, but execute some code when dropped. This is used by
.own(...)
below to store arbitrary data in theEl
.