Bug 1870642 - Fix Collection deleted snackbar that overlaps the toolbar r=android...
[gecko.git] / third_party / rust / uniffi_bindgen / src / bindings / python / templates / Protocol.py
blob3b7e93596aca29aa26a2d0954617408168069e75
1 class {{ protocol_name }}(typing.Protocol):
2 {%- call py::docstring_value(protocol_docstring, 4) %}
3 {%- for meth in methods.iter() %}
4 def {{ meth.name()|fn_name }}(self, {% call py::arg_list_decl(meth) %}):
5 {%- call py::docstring(meth, 8) %}
6 raise NotImplementedError
7 {%- else %}
8 pass
9 {%- endfor %}