Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dgrunwald/rust-cpython
/ functions
Functions
924 in github.com/dgrunwald/rust-cpython
⨍
Functions
924
◇
Types & classes
186
Method
new_lazy_init
(exc: PyType, value: Option<PyObject>)
src/err.rs:300
Method
new_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
Method
new_utf8
( py: Python, input: &[u8], err: std::str::Utf8Error, )
src/objects/exc.rs:176
Function
new_with_one_arg
()
tests/test_class.rs:101
Function
new_with_two_args
()
tests/test_class.rs:122
Method
newtype_variant_seed
(mut self, seed: T)
src/serde/de.rs:345
Method
next
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
Method
next
(&mut self)
src/objects/list.rs:116
Method
next_element_seed
(&mut self, seed: T)
src/serde/de.rs:260
Method
next_key_seed
(&mut self, seed: K)
src/serde/de.rs:277
Method
next_value_seed
(&mut self, seed: V)
src/serde/de.rs:292
Function
no_args
()
tests/test_function.rs:6
Function
none_return
()
tests/test_function.rs:161
Function
normal
(arg, suffix = "")
src/py_class/py_class_impl.py:686
Function
number_extensions
()
tests/test_class.rs:1406
Method
occurred
(_: Python)
src/err.rs:182
Function
one_arg
()
tests/test_function.rs:50
Function
opt_args
()
tests/test_function.rs:129
Function
optref
(arg, suffix = "")
src/py_class/py_class_impl.py:674
Function
overflow_error
(py: Python)
src/objects/num.rs:330
Function
panicking
()
tests/test_function.rs:188
Function
parse_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
Method
partial_cmp
(&self, _other: &Self)
extensions/tests/btree.rs:24
Method
positive
(&self, py: Python)
src/objectprotocol/number.rs:142
Method
power
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:63
Method
print
Print a standard traceback to sys.stderr.
src/err.rs:309
Method
print_and_set_sys_last_vars
Print a standard traceback to sys.stderr.
src/err.rs:315
Function
properties
()
tests/test_class.rs:1267
Function
py_fn_impl
(py: Python, method_def: *mut ffi::PyMethodDef)
src/function.rs:164
Function
py_module_initializer_impl
( name: *const libc::c_char, init: fn(Python, &PyModule) -> PyResult<()>, )
src/lib.rs:320
Function
python2_string_methods
()
tests/test_class.rs:491
Function
python3_numbers
()
tests/test_class.rs:1447
Function
python3_string_methods
()
tests/test_class.rs:501
Function
ref
(arg, suffix = "")
src/py_class/py_class_impl.py:680
Method
release_ref
(mut self, _py: Python)
src/buffer.rs:605
Method
release_ref
(self, _py: Python)
src/python.rs:132
Function
reversed
()
tests/test_class.rs:737
Method
rich_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
Function
rich_comparisons
()
tests/test_class.rs:923
Function
rich_comparisons_opt_ref
()
tests/test_class.rs:1032
Function
rich_comparisons_python_3_type_error
()
tests/test_class.rs:950
Function
rich_comparisons_ref
()
tests/test_class.rs:993
Method
right_shift
(&self, py: Python, bits: impl ToPyObject)
src/objectprotocol/number.rs:182
Function
run
(py: Python, args: &PyTuple, kwargs: Option<&PyDict>)
extensions/tests/hello.rs:12
Function
run
(py: Python, args: &PyTuple, kwargs: Option<&PyDict>)
extensions/hello/src/hello.rs:24
Function
sequence
()
tests/test_class.rs:554
Function
sequence_ref
()
tests/test_class.rs:580
Method
serialize_bool
(self, v: bool)
src/serde/ser.rs:135
Method
serialize_bytes
(self, v: &[u8])
src/serde/ser.rs:192
Method
serialize_char
(self, v: char)
src/serde/ser.rs:179
Method
serialize_f32
(self, v: f32)
src/serde/ser.rs:171
Method
serialize_f64
(self, v: f64)
src/serde/ser.rs:175
Method
serialize_field
(&mut self, key: &'static str, value: &T)
src/serde/ser.rs:358
Method
serialize_i16
(self, v: i16)
src/serde/ser.rs:143
Method
serialize_i32
(self, v: i32)
src/serde/ser.rs:147
Method
serialize_i64
(self, v: i64)
src/serde/ser.rs:151
Method
serialize_i8
(self, v: i8)
src/serde/ser.rs:139
Method
serialize_key
(&mut self, key: &T)
src/serde/ser.rs:328
Method
serialize_map
(self, _len: Option<usize>)
src/serde/ser.rs:271
Method
serialize_newtype_struct
(self, _name: &'static str, value: &T)
src/serde/ser.rs:224
Method
serialize_newtype_variant
( self, _name: &'static str, _variant_index: u32, variant: &'static str,
src/serde/ser.rs:231
Method
serialize_seq
(self, _len: Option<usize>)
src/serde/ser.rs:245
Method
serialize_some
(self, value: &T)
src/serde/ser.rs:200
Method
serialize_struct
(self, _name: &'static str, _len: usize)
src/serde/ser.rs:275
Method
serialize_struct_variant
( self, _name: &'static str, _variant_index: u32, variant: &'static str,
src/serde/ser.rs:279
Method
serialize_tuple
(self, _len: usize)
src/serde/ser.rs:249
Method
serialize_tuple_struct
( self, _name: &'static str, _len: usize, )
src/serde/ser.rs:253
Method
serialize_tuple_variant
( self, _name: &'static str, _variant_index: u32, variant: &'static str,
src/serde/ser.rs:261
Method
serialize_u16
(self, v: u16)
src/serde/ser.rs:159
Method
serialize_u32
(self, v: u32)
src/serde/ser.rs:163
Method
serialize_u64
(self, v: u64)
src/serde/ser.rs:167
Method
serialize_u8
(self, v: u8)
src/serde/ser.rs:155
Method
serialize_unit_struct
(self, _name: &'static str)
src/serde/ser.rs:211
Method
serialize_unit_variant
( self, _name: &'static str, _variant_index: u32, variant: &'static str, )
src/serde/ser.rs:215
Method
serialize_value
(&mut self, value: &T)
src/serde/ser.rs:337
Method
setUp
(self)
extensions/tests/test_btree.py:7
Method
set_item
(&self, py: Python, key: K, value: V)
src/objectprotocol.rs:303
Method
set_item
(&self, py: Python, i: isize, v: &PyObject)
src/objects/sequence.rs:118
Method
set_slice
(&self, py: Python, i1: isize, i2: isize, v: &PyObject)
src/objects/sequence.rs:139
Function
set_typeerror
()
src/err.rs:526
Function
setdelitem
()
tests/test_class.rs:719
Function
setitem
()
tests/test_class.rs:623
Function
setitem_opt_ref
()
tests/test_class.rs:673
Function
setitem_ref
()
tests/test_class.rs:646
Method
size
()
src/py_class/mod.rs:134
Function
special_method
(decorated_function)
src/py_class/py_class_impl.py:635
Function
sq_item
Used as implementation in the `sq_item` slot to forward calls to the `mp_subscript` slot.
src/py_class/slots.rs:719
Function
static_data
()
tests/test_class.rs:363
Function
static_method
()
tests/test_class.rs:316
Function
static_method_with_args
()
tests/test_class.rs:345
Method
strides
(&self)
src/buffer.rs:254
Function
string_methods
()
tests/test_class.rs:479
Method
struct_variant
(mut self, _fields: &'static [&'static str], visitor: V)
src/serde/de.rs:359
Method
suboffsets
(&self)
src/buffer.rs:264
Method
subtract
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:28
Function
test_add
()
src/objects/set.rs:190
Function
test_add_does_not_update_original_object
()
src/objects/set.rs:201
Function
test_append
()
src/objects/list.rs:237
Function
test_array_buffer
array.array doesn't implement the buffer protocol in python 2.7
src/buffer.rs:718
Function
test_borrow_mut_while_borrow
()
tests/test_sharedref.rs:126
← previous
next →
701–800 of 924, ranked by callers