MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

Functionfunction_with_pycfunction_arg
( fun: &Bound<'py, PyCFunction>, )
tests/test_pyfunction.rs:168
Functionfunction_with_pyfunction_arg
(fun: &Bound<'py, PyFunction>)
tests/test_pyfunction.rs:163
Functionfunction_with_required_kwargs
(kwargs: Bound<'_, PyDict>)
tests/ui/invalid_pyfunctions.rs:29
Functionfunction_with_warning
()
src/tests/hygiene/pyfunction.rs:16
Functionfunction_with_warning
()
tests/test_pyfunction.rs:724
Functionfunction_with_warning_and_category
()
src/tests/hygiene/pyfunction.rs:20
Functionfunction_with_warning_and_user_defined_category
()
tests/test_pyfunction.rs:761
Functionfunction_with_warning_with_category
()
tests/test_pyfunction.rs:734
Functionfunction_with_warning_with_custom_category
()
tests/test_pyfunction.rs:747
Functiongadget
()
examples/plugin/plugin_api/tests/test_Gadget.py:5
Functiongc_during_borrow
()
tests/test_gc.rs:307
Functiongc_null_traversal
()
tests/test_gc.rs:217
Methodge
(&self, other: O)
src/types/any.rs:1023
Methodgenerated_link_name_override
(&self, item: ItemInfo<'_>)
pyo3-ffi-check/definitions/build.rs:29
Functiongeneric_function
(_value: T)
tests/ui/invalid_pyfunctions.rs:5
Methodgeneric_method
(_value: T)
tests/ui/invalid_pymethods.rs:157
Methodget
(&self)
src/instance.rs:643
Methodget
(py: Python<'_>)
src/types/notimplemented.rs:20
Methodget
(py: Python<'_>)
src/types/ellipsis.rs:20
Methodget
(&self)
src/tests/hygiene/pymethods.rs:402
Methodget
(&self, py: Python<'py>)
src/impl_/exceptions.rs:18
Methodget
(&self)
tests/test_various.rs:18
Methodget
(&self, resolve: bool)
tests/test_coroutine.rs:282
Functionget_all_and_set
()
tests/test_getter_setter.rs:210
Methodget_all_arg_types_together
(&self, a: i32, b: i32, c: i32, d: i32)
tests/test_methods.rs:350
Methodget_args_and_required_keyword
( &self, py: Python<'_>, args: &Bound<'_, PyTuple>, a: i32, )
tests/test_methods.rs:405
Methodget_attr
(&self)
pytests/src/pyclasses.rs:243
Methodget_contents_of_obj
# Safety - `obj` must have the layout that the implementation is expecting - thread must be attached to the interpreter
src/pycell/impl_.rs:572
Methodget_data
a getter for data
tests/test_getter_setter.rs:25
Methodget_data_list
(&self, py: Python<'py>)
tests/test_getter_setter.rs:56
Functionget_date_tuple
(d: &Bound<'py, PyDate>)
pytests/src/datetime.rs:13
Functionget_datetime_tuple
(dt: &Bound<'py, PyDateTime>)
pytests/src/datetime.rs:129
Functionget_datetime_tuple_fold
(dt: &Bound<'py, PyDateTime>)
pytests/src/datetime.rs:145
Functionget_datetime_tzinfo
(dt: &Bound<'py, PyDateTime>)
pytests/src/datetime.rs:172
Methodget_default
(&self, test: i32)
tests/test_methods.rs:287
Functionget_delta_tuple
(delta: &Bound<'py, PyDelta>)
pytests/src/datetime.rs:90
Methodget_dict_impl
( object: *mut ffi::PyObject, closure: *mut c_void, )
src/pyclass/create_type_object.rs:242
Methodget_during_gc
(&self)
src/sync.rs:101
Methodget_field
(&self)
tests/test_getter_setter.rs:295
Functionget_fraction_cls
(py: Python<'_>)
src/conversions/num_rational.rs:63
Functionget_inner
()
pyo3-build-config/src/lib.rs:144
Methodget_item
(&self, index: usize)
src/types/sequence.rs:216
Functionget_item_and_run_callback
(dict: Bound<'_, PyDict>, callback: Bound<'_, PyAny>)
pytests/src/misc.rs:79
Methodget_iter
(slf: &Bound<'_, Self>, keys: Py<PyBytes>)
tests/test_pyself.rs:29
Methodget_iter_and_reset
( mut slf: PyRefMut<'_, Self>, keys: Py<PyBytes>, py: Python<'_>, )
tests/test_pyself.rs:36
Methodget_kwarg
(&self, test: i32)
tests/test_methods.rs:291
Methodget_kwargs
( &self, py: Python<'py>, args: &Bound<'py, PyTuple>, kwargs: Option<&Bound<'p
tests/test_methods.rs:295
Methodget_kwargs_only
(&self, a: i32, b: i32)
tests/test_methods.rs:395
Methodget_kwargs_only_with_defaults
(&self, a: i32, b: i32)
tests/test_methods.rs:390
Methodget_kwargs_only_with_some_default
(&self, a: i32, b: i32)
tests/test_methods.rs:400
Functionget_length
(obj: &Bound<'_, PyAny>)
tests/test_class_basics.rs:348
Methodget_num
(&self)
tests/test_getter_setter.rs:19
Methodget_num
~^ ERROR: `name` may only be specified once
tests/ui/invalid_pymethod_names.rs:13
Methodget_num2
(&self)
tests/test_getter_setter.rs:105
Methodget_one
~^ ERROR: expected ident or string literal for property name
tests/ui/invalid_pymethod_names.rs:36
Methodget_optional
(&self, test: Option<i32>)
tests/test_methods.rs:269
Methodget_optional2
(&self, test: Option<i32>)
tests/test_methods.rs:273
Methodget_optional_pos_only_with_kwargs
( &self, py: Python<'_>, a: i32, kwargs: Option<&Bound<'_, PyDict>>, )
tests/test_methods.rs:375
Methodget_optional_positional
( &self, _t1: Option<i32>, t2: Option<i32>, _t3: Option<i32>, )
tests/test_methods.rs:277
Methodget_or_init_py_attached
(&self, py: Python<'_>, f: F)
src/sync.rs:393
Methodget_pos_arg_kw
( &self, py: Python<'py>, a: i32, args: &Bound<'py, PyTuple>, kwargs:
tests/test_methods.rs:309
Methodget_pos_arg_kw_sep1
(&self, a: i32, b: i32, c: i32)
tests/test_methods.rs:418
Methodget_pos_arg_kw_sep2
(&self, a: i32, b: i32, c: i32)
tests/test_methods.rs:423
Methodget_pos_kw
( &self, py: Python<'_>, a: i32, kwargs: Option<&Bound<'_, PyDict>>, )
tests/test_methods.rs:428
Methodget_pos_only
(&self, a: i32, b: i32)
tests/test_methods.rs:325
Methodget_pos_only_and_kw_only
(&self, a: i32, b: i32)
tests/test_methods.rs:340
Methodget_pos_only_and_kw_only_with_default
(&self, a: i32, b: i32)
tests/test_methods.rs:345
Methodget_pos_only_and_pos
(&self, a: i32, b: i32)
tests/test_methods.rs:330
Methodget_pos_only_and_pos_and_kw
(&self, a: i32, b: i32, c: i32)
tests/test_methods.rs:335
Methodget_pos_only_with_kwargs
( &self, py: Python<'_>, a: i32, kwargs: Option<&Bound<'_, PyDict>>, )
tests/test_methods.rs:360
Methodget_pos_only_with_varargs
(&self, a: i32, args: Vec<i32>)
tests/test_methods.rs:355
Functionget_py_for_frozen_class
()
src/impl_/pyclass.rs:1508
Functionget_py_for_non_frozen_class
()
src/impl_/pyclass.rs:1553
Functionget_random_number
()
examples/plugin/python_plugin/rng.py:1
Methodget_refcnt
(&self, py: Python<'_>)
src/instance.rs:1783
Methodget_refcnt
(&self)
src/types/any.rs:1214
Functionget_rust_version
()
noxfile.py:1854
Functionget_sequence_item_from_mapping
( obj: *mut ffi::PyObject, index: ffi::Py_ssize_t, )
src/impl_/pyclass.rs:1196
Functionget_set_all
()
tests/test_getter_setter.rs:194
Methodget_slice
(&self, begin: usize, end: usize)
src/types/sequence.rs:224
Methodget_slots
(&'static self)
src/impl_/pymodule.rs:205
Functionget_time_tuple
(dt: &Bound<'py, PyTime>)
pytests/src/datetime.rs:53
Functionget_time_tuple_fold
(dt: &Bound<'py, PyTime>)
pytests/src/datetime.rs:66
Functionget_time_tzinfo
(dt: &Bound<'py, PyTime>)
pytests/src/datetime.rs:177
Methodget_two
~^ ERROR: expected `#[getter(name)]` to set the name
tests/ui/invalid_pymethod_names.rs:43
Functionget_type_fully_qualified_name
(obj: &Bound<'py, PyAny>)
pytests/src/misc.rs:69
Methodget_type_ptr
(&self)
src/types/any.rs:1203
Methodget_unwrapped
a getter with a type un-wrapped by PyResult
tests/test_getter_setter.rs:35
Methodget_val
(&self)
src/types/capsule.rs:715
Methodget_value
(&self)
src/tests/hygiene/pymethods.rs:506
Methodget_value
(&self)
tests/test_methods.rs:1349
Functionget_value_from_mappingproxy_of_integers
()
src/types/mappingproxy.rs:517
Functionget_value_from_mappingproxy_of_strings
()
src/types/mappingproxy.rs:489
Methodget_value_plus_with
(&self, v1: i32, v2: i32)
tests/test_coroutine.rs:349
Methodget_values
(self_: PyRef<'_, Self>)
src/pycell.rs:837
Methodget_values
(self_: PyClassGuard<'_, Self>)
src/pyclass/guard.rs:1035
Methodget_x
`int`: a very "important" member of 'this' instance.
tests/test_methods.rs:791
Functionget_zero
()
tests/test_various.rs:45
Functiongetattr_and_getattribute
()
tests/test_proto_methods.rs:724
Functiongetattr_direct
(b: &mut Bencher<'_>)
pyo3-benches/benches/bench_intern.rs:9
← previousnext →2,601–2,700 of 4,885, ranked by callers