:orphan: .. _s_11PytoRuntime7CapsuleC: ``Capsule`` =========== A :swift:symbol:`PytoRuntime.Capsule` object holds a pointer of any type and is convertible to a Python ``PyCapsule``. .. raw:: html .. rubric:: Declaration .. raw:: html
class Capsule <T>
   
.. rubric:: Initializers .. raw:: html
.. toctree:: :maxdepth: 1 s_11PytoRuntime7CapsuleCyACyxGxcfc .. raw:: html
Initializes with the given value. .. rubric:: Conforms to - :ref:`s_11PytoRuntime8ParsableP`