yr.Element
===========

.. py:class:: yr.Element(value: Union[bytes, memoryview], ele_id: int = 0)

    基类：``object``

    包含element id和数据缓存的元素类。

    参数：
        - **value** (Union[bytes, memoryview]) — 需要发送的数据。
        - **ele_id** (int，可选) — 元素的唯一标识，默认值为 ``0``。


    **方法**：

    .. list-table::
       :header-rows: 0
       :widths: 30 70

       * - :ref:`__init__ <init_Element>`
         -

.. toctree::
    :maxdepth: 1
    :hidden:

    yr.Element.__init__

