fix: Change the placement of ctor/dtor attributes in the dst_api
Change the placement of the attributes to match the existing usage in other places (after the declaration).
Change the placement of the attributes to match the existing usage in other places (after the declaration).