MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

Method__rdivmod__
(&self, _other: &Self)
src/tests/hygiene/pymethods.rs:225
Method__reduce__
( slf: &Bound<'py, Self>, py: Python<'py>, )
tests/test_various.rs:130
Method__releasebuffer__
(&self, view: *mut ffi::Py_buffer)
tests/test_buffer_protocol.rs:35
Method__repeat__
(&self, count: isize)
tests/test_sequence.rs:83
Method__repr__
(&self)
pytests/src/pyclasses.rs:320
Method__repr__
(self)
pytests/tests/test_misc.py:95
Method__repr__
///////////////// Basic customization /////////////////
src/tests/hygiene/pymethods.rs:15
Method__repr__
(&self)
tests/test_proto_methods.rs:52
Method__repr__
(&self)
tests/test_arithmetics.rs:21
Method__repr__
(&self)
tests/test_default_impls.rs:34
Method__reversed__
( slf: crate::pycell::PyRef<'_, Self>, py: crate::Python<'_>, )
src/tests/hygiene/pymethods.rs:134
Method__rfloordiv__
(&self, _other: &Self)
src/tests/hygiene/pymethods.rs:217
Method__rfloordiv__
(&self, other: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:490
Method__richcmp__
(&self, other: &Self, op: CompareOp)
pytests/src/pyclasses.rs:328
Method__richcmp__
(&self, other: &Self, op: CompareOp)
pytests/src/comparisons.rs:96
Method__richcmp__
(&self, other: &Self, op: CompareOp)
pyo3-benches/benches/bench_comparisons.rs:41
Method__richcmp__
(&self, other: &Bound<'_, PyAny>, op: CompareOp)
tests/test_arithmetics.rs:533
Method__richcmp__
(&self, _other: &Self, _op: CompareOp)
tests/ui/invalid_proto_pymethods.rs:68
Method__richcmp__
( &self, _py: Python, _other: Bound<'_, PyAny>, _op: pyo3::pyclass::CompareOp,
tests/ui/invalid_pyclass_args.rs:65
Method__rlshift__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:233
Method__rlshift__
(&self, other: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:341
Method__rmatmul__
(&self, other: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:482
Method__rmod__
(&self, _other: &Self)
src/tests/hygiene/pymethods.rs:221
Method__rmul__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:209
Method__rmul__
(&self, other: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:337
Method__ror__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:249
Method__ror__
(&self, other: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:357
Method__round__
(&self, ndigits: ::core::option::Option<u32>)
src/tests/hygiene/pymethods.rs:313
Method__round__
(&self, _ndigits: Option<u32>)
tests/test_arithmetics.rs:42
Method__rpow__
(&self, _other: &Self, modulo: ::core::option::Option<i32>)
src/tests/hygiene/pymethods.rs:229
Method__rpow__
(&self, other: &Bound<'_, PyAny>, _mod: Option<&Bound<'_, PyAny>>)
tests/test_arithmetics.rs:361
Method__rrshift__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:237
Method__rrshift__
(&self, other: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:345
Method__rrsub__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:205
Method__rshift__
(&self, other: &Self)
pytests/src/pyclasses.rs:368
Method__rshift__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:185
Method__rshift__
(&self, rhs: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:244
Method__rsub__
( slf: PyClassGuard<'a, Self>, mut other: PyClassGuardMut<'a, Self>, )
src/pyclass/guard.rs:1055
Method__rsub__
(&self, other: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:333
Method__rtruediv__
(&self, _other: &Self)
src/tests/hygiene/pymethods.rs:213
Method__rtruediv__
(&self, other: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:486
Method__rxor__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:245
Method__rxor__
(&self, other: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:353
Method__set__
( &self, instance: &crate::Bound<'_, crate::PyAny>, owner: &crate::Bound<'_, crate::Py
src/tests/hygiene/pymethods.rs:94
Method__set__
Allow assigning a new counter to the descriptor, copying the count across
tests/test_proto_methods.rs:884
Method__set_name__
( &self, owner: &crate::Bound<'_, crate::PyAny>, name: &crate::Bound<'_, crate::PyAny>
src/tests/hygiene/pymethods.rs:103
Method__setattr__
(&mut self, name: ::alloc::string::String, value: ::alloc::string::String)
src/tests/hygiene/pymethods.rs:71
Method__setattr__
(&mut self, attr: &str, value: &Bound<'_, PyAny>)
tests/test_proto_methods.rs:30
Method__setitem__
(&self, key: u32, value: u32)
src/tests/hygiene/pymethods.rs:122
Method__setitem__
(&self, key: &Bound<'py, PyAny>, value: &Bound<'py, PyAny>)
tests/test_proto_methods.rs:257
Method__setitem__
(&mut self, key: String, value: usize)
tests/test_mapping.rs:50
Method__setitem__
(&mut self, idx: isize, value: u8)
tests/test_sequence.rs:48
Method__setitem__
(&self, idx: IntOrSlice, value: u32)
examples/getitem/src/lib.rs:61
Method__str__
(&self)
pytests/src/pyclasses.rs:316
Method__str__
(&self)
pytests/src/subclassing.rs:21
Method__str__
(self)
pytests/tests/test_subclassing.py:5
Method__str__
A basic __str__ implementation.
pyo3-benches/benches/bench_pyclass.rs:26
Method__str__
(&self)
src/tests/hygiene/pymethods.rs:19
Method__str__
(&self)
tests/test_proto_methods.rs:48
Method__str__
(&self)
tests/ui/invalid_pyclass_args.rs:138
Method__sub__
(&self, other: &Self)
pytests/src/pyclasses.rs:336
Method__sub__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:153
Method__sub__
(&self, rhs: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:212
Method__traverse__
( &self, visit: crate::PyVisit<'_>, )
src/tests/hygiene/pymethods.rs:425
Method__traverse__
(self, _this: &T, _visit: PyVisit<'_>)
src/impl_/pyclass/traverse.rs:17
Method__traverse__
(&self, visit: PyVisit<'_>)
tests/test_gc.rs:177
Method__traverse__
(_slf: PyRef<Self>, _visit: PyVisit)
tests/ui/traverse.rs:10
Method__traverse__
~^ ERROR: __traverse__ cannot be used with #[pyo3(warn)]
tests/ui/invalid_pyfunction_warn.rs:50
Method__traverse__
~^ ERROR: __traverse__ cannot be used with #[pyo3(warn)]
tests/ui/invalid_pymethods_warn.rs:10
Method__truediv__
(&self, other: &Self)
pytests/src/pyclasses.rs:348
Method__truediv__
(&self, _other: &Self)
src/tests/hygiene/pymethods.rs:161
Method__truediv__
(&self, rhs: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:224
Method__trunc__
(&self)
src/tests/hygiene/pymethods.rs:317
Method__xor__
(&self, other: &Self)
pytests/src/pyclasses.rs:384
Method__xor__
(&self, other: &Self)
src/tests/hygiene/pymethods.rs:193
Method__xor__
(&self, rhs: &Bound<'_, PyAny>)
tests/test_arithmetics.rs:252
Function_call_clear
Calls an implementation of __clear__ for tp_clear
src/impl_/pymethods.rs:516
Function_check
( *, env: dict[str, str], version: tuple[int, int] | None, free_threaded: bool )
noxfile.py:389
Function_clippy_with_config
( *, env: dict[str, str], version: tuple[int, int] | None, free_threaded: bool )
noxfile.py:370
Function_cstr_from_utf8_with_nul_checked
(s: &str)
pyo3-ffi/src/lib.rs:425
Function_foo
( _data: Vec<i32>, // The from_py_with here looks a little odd, we just need some way
tests/test_methods.rs:1288
Function_setuptools_rust_starter
(py: Python<'_>, m: &Bound<'_, PyModule>)
examples/setuptools-rust-starter/src/lib.rs:23
Methoda
()
tests/test_class_attributes.rs:30
Methoda_class_attr
~^ ERROR: #[classattr] cannot be used with #[pyo3(warn)]
tests/ui/invalid_pymethods_warn.rs:18
Methoda_foo
()
tests/test_class_attributes.rs:46
Methoda_foo_with_py
(py: Python<'_>)
tests/test_class_attributes.rs:51
Methodabi3
(&self)
pyo3-build-config/src/impl_.rs:310
Functionabi3_from_old_config_file
()
pyo3-build-config/src/impl_.rs:3032
Functionabi3_version_cannot_be_higher_than_interpreter
()
pyo3-build-config/src/impl_.rs:4143
Functionabi_builder_error_paths
()
pyo3-build-config/src/impl_.rs:3737
Methodabs
(&self)
src/types/complex.rs:256
Functionaccepts_bool
(val: bool)
pytests/src/misc.rs:74
Functionaccepts_no_arguments
( _slf: *mut ffi::PyObject, _args: *const *mut ffi::PyObject,
src/impl_/pymethods.rs:782
Functionaccess_dunder_dict
()
tests/test_class_basics.rs:460
Functionaccess_frozen_class_without_gil
()
tests/test_class_basics.rs:653
Methodadd_class
(&self)
src/types/module.rs:524
Methodadd_other
Checks that &Self works
tests/test_methods.rs:30
Methodadd_pyref
(&self, other: PyRef<'_, MethodWithPyClassArg>)
tests/test_methods.rs:856
Functionadd_python_framework_link_args
Adds linker arguments suitable for linking against the Python framework on macOS. This should be called from a build script. The following link flag
pyo3-build-config/src/lib.rs:111
Methodadd_to_module
(&'static self, module: &Bound<'_, PyModule>)
src/impl_/pymodule.rs:529
← previousnext →1,801–1,900 of 4,885, ranked by callers