:orphan:
.. _s_11PytoRuntime18SignatureComponentV:
``SignatureComponent``
======================
A component of a function signature, representing a parameter or a return value.
.. raw:: html
.. rubric:: Declaration
.. raw:: html
struct SignatureComponent
.. rubric:: Discussion
Do not initialize this directly. Instead, create a :swift:symbol:`PytoRuntime.Signature`.
.. rubric:: Properties
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime18SignatureComponentV10annotationAA8Parsable_pSgvp
.. raw:: html
The annotation of the parameter or return value.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime18SignatureComponentV7defaultAA8Parsable_pSgvp
.. raw:: html
The default value of the parameter.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime18SignatureComponentV13hasAnnotationSbvp
.. raw:: html
Whether the parameter or return value has an annotation.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime18SignatureComponentV10hasDefaultSbvp
.. raw:: html
Whether the parameter has a default value.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime18SignatureComponentV8isReturnSbvp
.. raw:: html
Whether the component represents a return value.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime18SignatureComponentV4nameSSvp
.. raw:: html
The name of the parameter.
.. raw:: html
.. toctree::
:maxdepth: 1
s_11PytoRuntime18SignatureComponentV4typeSSSgvp
.. raw:: html
The type of the signature component.