MCPcopy Create free account

hub / github.com/dgrunwald/rust-cpython / functions

Functions924 in github.com/dgrunwald/rust-cpython

Methodnew_lazy_init
(exc: PyType, value: Option<PyObject>)
src/err.rs:300
Methodnew_type
Creates a new exception type with the given name, which must be of the form `<module>.<ExceptionName>`, as required by `PyErr_NewException`. `base` c
src/err.rs:191
Methodnew_utf8
( py: Python, input: &[u8], err: std::str::Utf8Error, )
src/objects/exc.rs:176
Functionnew_with_one_arg
()
tests/test_class.rs:101
Functionnew_with_two_args
()
tests/test_class.rs:122
Methodnewtype_variant_seed
(mut self, seed: T)
src/serde/de.rs:345
Methodnext
Retrieves the next item from an iterator. Returns `None` when the iterator is exhausted. If an exception occurs, returns `Some(Err(..))`. Further next
src/objects/iterator.rs:72
Methodnext
(&mut self)
src/objects/list.rs:116
Methodnext_element_seed
(&mut self, seed: T)
src/serde/de.rs:260
Methodnext_key_seed
(&mut self, seed: K)
src/serde/de.rs:277
Methodnext_value_seed
(&mut self, seed: V)
src/serde/de.rs:292
Functionno_args
()
tests/test_function.rs:6
Functionnone_return
()
tests/test_function.rs:161
Functionnormal
(arg, suffix = "")
src/py_class/py_class_impl.py:686
Functionnumber_extensions
()
tests/test_class.rs:1406
Methodoccurred
(_: Python)
src/err.rs:182
Functionone_arg
()
tests/test_function.rs:50
Functionopt_args
()
tests/test_function.rs:129
Functionoptref
(arg, suffix = "")
src/py_class/py_class_impl.py:674
Functionoverflow_error
(py: Python)
src/objects/num.rs:330
Functionpanicking
()
tests/test_function.rs:188
Functionparse_args
Parse argument list fname: Name of the current function params: Declared parameters of the function args: Positional arguments kwargs: Keyword arg
src/argparse.rs:53
Methodpartial_cmp
(&self, _other: &Self)
extensions/tests/btree.rs:24
Methodpositive
(&self, py: Python)
src/objectprotocol/number.rs:142
Methodpower
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:63
Methodprint
Print a standard traceback to sys.stderr.
src/err.rs:309
Methodprint_and_set_sys_last_vars
Print a standard traceback to sys.stderr.
src/err.rs:315
Functionproperties
()
tests/test_class.rs:1267
Functionpy_fn_impl
(py: Python, method_def: *mut ffi::PyMethodDef)
src/function.rs:164
Functionpy_module_initializer_impl
( name: *const libc::c_char, init: fn(Python, &PyModule) -> PyResult<()>, )
src/lib.rs:320
Functionpython2_string_methods
()
tests/test_class.rs:491
Functionpython3_numbers
()
tests/test_class.rs:1447
Functionpython3_string_methods
()
tests/test_class.rs:501
Functionref
(arg, suffix = "")
src/py_class/py_class_impl.py:680
Methodrelease_ref
(mut self, _py: Python)
src/buffer.rs:605
Methodrelease_ref
(self, _py: Python)
src/python.rs:132
Functionreversed
()
tests/test_class.rs:737
Methodrich_compare
Compares two Python objects. Depending on the value of `compare_op`, equivalent to one of the following Python expressions: CompareOp::Eq: `self == o
src/objectprotocol.rs:157
Functionrich_comparisons
()
tests/test_class.rs:923
Functionrich_comparisons_opt_ref
()
tests/test_class.rs:1032
Functionrich_comparisons_python_3_type_error
()
tests/test_class.rs:950
Functionrich_comparisons_ref
()
tests/test_class.rs:993
Methodright_shift
(&self, py: Python, bits: impl ToPyObject)
src/objectprotocol/number.rs:182
Functionrun
(py: Python, args: &PyTuple, kwargs: Option<&PyDict>)
extensions/tests/hello.rs:12
Functionrun
(py: Python, args: &PyTuple, kwargs: Option<&PyDict>)
extensions/hello/src/hello.rs:24
Functionsequence
()
tests/test_class.rs:554
Functionsequence_ref
()
tests/test_class.rs:580
Methodserialize_bool
(self, v: bool)
src/serde/ser.rs:135
Methodserialize_bytes
(self, v: &[u8])
src/serde/ser.rs:192
Methodserialize_char
(self, v: char)
src/serde/ser.rs:179
Methodserialize_f32
(self, v: f32)
src/serde/ser.rs:171
Methodserialize_f64
(self, v: f64)
src/serde/ser.rs:175
Methodserialize_field
(&mut self, key: &'static str, value: &T)
src/serde/ser.rs:358
Methodserialize_i16
(self, v: i16)
src/serde/ser.rs:143
Methodserialize_i32
(self, v: i32)
src/serde/ser.rs:147
Methodserialize_i64
(self, v: i64)
src/serde/ser.rs:151
Methodserialize_i8
(self, v: i8)
src/serde/ser.rs:139
Methodserialize_key
(&mut self, key: &T)
src/serde/ser.rs:328
Methodserialize_map
(self, _len: Option<usize>)
src/serde/ser.rs:271
Methodserialize_newtype_struct
(self, _name: &'static str, value: &T)
src/serde/ser.rs:224
Methodserialize_newtype_variant
( self, _name: &'static str, _variant_index: u32, variant: &'static str,
src/serde/ser.rs:231
Methodserialize_seq
(self, _len: Option<usize>)
src/serde/ser.rs:245
Methodserialize_some
(self, value: &T)
src/serde/ser.rs:200
Methodserialize_struct
(self, _name: &'static str, _len: usize)
src/serde/ser.rs:275
Methodserialize_struct_variant
( self, _name: &'static str, _variant_index: u32, variant: &'static str,
src/serde/ser.rs:279
Methodserialize_tuple
(self, _len: usize)
src/serde/ser.rs:249
Methodserialize_tuple_struct
( self, _name: &'static str, _len: usize, )
src/serde/ser.rs:253
Methodserialize_tuple_variant
( self, _name: &'static str, _variant_index: u32, variant: &'static str,
src/serde/ser.rs:261
Methodserialize_u16
(self, v: u16)
src/serde/ser.rs:159
Methodserialize_u32
(self, v: u32)
src/serde/ser.rs:163
Methodserialize_u64
(self, v: u64)
src/serde/ser.rs:167
Methodserialize_u8
(self, v: u8)
src/serde/ser.rs:155
Methodserialize_unit_struct
(self, _name: &'static str)
src/serde/ser.rs:211
Methodserialize_unit_variant
( self, _name: &'static str, _variant_index: u32, variant: &'static str, )
src/serde/ser.rs:215
Methodserialize_value
(&mut self, value: &T)
src/serde/ser.rs:337
MethodsetUp
(self)
extensions/tests/test_btree.py:7
Methodset_item
(&self, py: Python, key: K, value: V)
src/objectprotocol.rs:303
Methodset_item
(&self, py: Python, i: isize, v: &PyObject)
src/objects/sequence.rs:118
Methodset_slice
(&self, py: Python, i1: isize, i2: isize, v: &PyObject)
src/objects/sequence.rs:139
Functionset_typeerror
()
src/err.rs:526
Functionsetdelitem
()
tests/test_class.rs:719
Functionsetitem
()
tests/test_class.rs:623
Functionsetitem_opt_ref
()
tests/test_class.rs:673
Functionsetitem_ref
()
tests/test_class.rs:646
Methodsize
()
src/py_class/mod.rs:134
Functionspecial_method
(decorated_function)
src/py_class/py_class_impl.py:635
Functionsq_item
Used as implementation in the `sq_item` slot to forward calls to the `mp_subscript` slot.
src/py_class/slots.rs:719
Functionstatic_data
()
tests/test_class.rs:363
Functionstatic_method
()
tests/test_class.rs:316
Functionstatic_method_with_args
()
tests/test_class.rs:345
Methodstrides
(&self)
src/buffer.rs:254
Functionstring_methods
()
tests/test_class.rs:479
Methodstruct_variant
(mut self, _fields: &'static [&'static str], visitor: V)
src/serde/de.rs:359
Methodsuboffsets
(&self)
src/buffer.rs:264
Methodsubtract
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:28
Functiontest_add
()
src/objects/set.rs:190
Functiontest_add_does_not_update_original_object
()
src/objects/set.rs:201
Functiontest_append
()
src/objects/list.rs:237
Functiontest_array_buffer
array.array doesn't implement the buffer protocol in python 2.7
src/buffer.rs:718
Functiontest_borrow_mut_while_borrow
()
tests/test_sharedref.rs:126
← previousnext →701–800 of 924, ranked by callers