MCPcopy Create free account

hub / github.com/dgrunwald/rust-cpython / types & classes

Types & classes186 in github.com/dgrunwald/rust-cpython

↓ 8 callersClassArgument
src/py_class/py_class_impl.py:661
↓ 6 callersClassAbortOnDrop
src/function.rs:269
↓ 3 callersClassB
src/serde/tests.rs:62
↓ 1 callersClassA
src/serde/tests.rs:30
↓ 1 callersClassClassMethodDescriptor
src/py_class/members.rs:168
↓ 1 callersClassInstanceMethodDescriptor
src/py_class/members.rs:111
↓ 1 callersClassPyBuffer
Allows access to the underlying buffer used by a python object such as `bytes`, `bytearray` or `array.array`.
src/buffer.rs:29
↓ 1 callersClassPyString
Represents a Python string. Corresponds to `basestring` in Python 2, and `str` in Python 3.
src/objects/string.rs:31
↓ 1 callersClassPython
src/python.rs:39
↓ 1 callersClassTraverseError
TODO: what's the semantics of the traverse return code? If it's just a normal python exception, we might want to use PyErr instead.
src/py_class/gc.rs:28
InterfaceBaseObject
A PythonObject that is usable as a base type with the `py_class!()` macro.
src/py_class/mod.rs:114
ClassBoolConverter
src/py_class/slots.rs:674
ClassBorrowPyShared
Helper to keep the borrow count updated while the shared object is immutably borrowed without using the `RefCell` interface.
src/sharedref.rs:280
ClassBuildDict
src/serde/ser.rs:82
ClassBuildList
src/serde/ser.rs:80
ClassBuildTuple
src/serde/ser.rs:81
InterfaceCallbackConverter
src/function.rs:168
EnumCompareOp
src/py_class/mod.rs:47
ClassDeserializer
src/serde/de.rs:29
EnumE
src/serde/tests.rs:71
InterfaceElement
Trait implemented for possible element types of `PyBuffer`.
src/buffer.rs:151
EnumElementType
src/buffer.rs:37
ClassError
Error type used by serialization.
src/serde/error.rs:9
InterfaceFromPyObject
FromPyObject is implemented by various types that can be extracted from a Python object. Normal usage is through the `PyObject::extract` helper metho
src/conversion.rs:102
ClassGILGuard
src/pythonrun.rs:96
ClassGILProtected
Mutex-like wrapper object for data that is protected by the Python GIL. # Example ``` use std::cell::Cell; use cpython::{Python, GILProtected}; let
src/pythonrun.rs:157
ClassHashConverter
src/py_class/slots.rs:650
ClassIterNextResultConverter
src/py_class/slots.rs:601
ClassLenResultConverter
src/py_class/slots.rs:581
ClassNoArgs
src/objects/tuple.rs:213
InterfaceNumberProtocol
Operations on numeric objects
src/objectprotocol/number.rs:14
InterfaceObjectProtocol
Trait that contains methods
src/objectprotocol.rs:33
ClassOrdPyObject
Newtype around PyObject that implements Ord using python value comparisons. Python exceptions are converted into Rust panics.
extensions/tests/btree.rs:15
ClassParamDescription
Description of a python parameter; used for `parse_args()`.
src/argparse.rs:31
ClassPyASCIIObject
python3-sys/src/unicodeobject.rs:444
ClassPyArena
python27-sys/src/pyarena.rs:7
ClassPyArena
python3-sys/src/pyarena.rs:2
ClassPyAsyncMethods
python3-sys/src/object.rs:331
ClassPyBool
Represents a Python `bool`.
src/objects/boolobject.rs:8
ClassPyBufferProcs
python27-sys/src/object.rs:308
ClassPyBufferProcs
python3-sys/src/object.rs:362
InterfacePyBuildVariant
src/serde/ser.rs:35
ClassPyBytes
Represents a Python byte string. Corresponds to `str` in Python 2, and `bytes` in Python 3.
src/objects/string.rs:40
ClassPyCapsule
Capsules are the preferred way to export/import C APIs between extension modules, see [Providing a C API for an Extension Module](https://docs.python.
src/objects/capsule.rs:188
ClassPyCellObject
python27-sys/src/cellobject.rs:8
ClassPyClass
Represents an old-style Python class. Only available with Python 2.x.
src/objects/oldstyle.rs:32
ClassPyClassObject
python27-sys/src/classobject.rs:8
InterfacePyClone
src/python.rs:98
ClassPyCodeObject
python27-sys/src/code.rs:8
ClassPyCodeObject
The field orderings have completely changed in 3.11, so we seperate it out into a different type declaration the justification for the reordering was
python3-sys/src/code.rs:20
InterfacePyCollectItems
src/serde/ser.rs:31
ClassPyCompactUnicodeObject
python3-sys/src/unicodeobject.rs:455
ClassPyCompilerFlags
python27-sys/src/pythonrun.rs:20
ClassPyCompilerFlags
python3-sys/src/pythonrun.rs:35
ClassPyComplexObject
python27-sys/src/complexobject.rs:26
ClassPyConfig
python3-sys/src/initconfig.rs:98
ClassPyDict
Represents a Python `dict`.
src/objects/dict.rs:28
InterfacePyDrop
src/python.rs:123
ClassPyErr
src/err.rs:143
ClassPyFloat
Represents a Python `float` object. You can usually avoid directly working with this type by using [ToPyObject](trait.ToPyObject.html) and [extract](
src/objects/num.rs:64
ClassPyFloatObject
python27-sys/src/floatobject.rs:8
ClassPyFrameObject
python27-sys/src/frameobject.rs:18
ClassPyFrameObject
python3-sys/src/frameobject.rs:29
ClassPyFutureFeatures
python27-sys/src/compile.rs:9
ClassPyFutureFeatures
python3-sys/src/compile.rs:23
EnumPyGILState_STATE
python27-sys/src/pystate.rs:64
EnumPyGILState_STATE
python3-sys/src/pystate.rs:61
ClassPyGenObject
python27-sys/src/genobject.rs:9
ClassPyGetSetDef
python27-sys/src/descrobject.rs:14
ClassPyGetSetDef
python3-sys/src/descrobject.rs:14
ClassPyHash_FuncDef
python3-sys/src/pyhash.rs:7
ClassPyHeapTypeObject
python27-sys/src/object.rs:561
ClassPyHeapTypeObject
python3-sys/src/object.rs:595
ClassPyImport_Struct_frozen
python27-sys/src/import.rs:21
ClassPyImport_Struct_inittab
python27-sys/src/import.rs:7
ClassPyInstance
Represents an old-style Python instance. Only available with Python 2.x.
src/objects/oldstyle.rs:38
ClassPyInstanceObject
python27-sys/src/classobject.rs:26
ClassPyInt
src/objects/num.rs:43
ClassPyIntObject
python27-sys/src/intobject.rs:8
ClassPyInterpreterState
python27-sys/src/pystate.rs:7
ClassPyInterpreterState
python3-sys/src/pystate.rs:10
ClassPyItems
src/serde/ser.rs:39
ClassPyIterator
A python iterator object. Unlike other python objects, this class includes a `Python<'p>` token so that PyIterator can implement the rust `Iterator`
src/objects/iterator.rs:29
ClassPyLeakedRef
An immutably borrowed reference to a leaked value.
src/sharedref.rs:439
ClassPyLeakedRefMut
A mutably borrowed reference to a leaked value.
src/sharedref.rs:453
ClassPyList
Represents a Python `list`.
src/objects/list.rs:26
ClassPyListIterator
Used by `PyList::iter()`.
src/objects/list.rs:106
ClassPyListObject
python27-sys/src/listobject.rs:8
ClassPyLong
In Python 2.x, represents a Python `long` object. In Python 3.x, represents a Python `int` object. Both `PyInt` and `PyLong` refer to the same type on
src/objects/num.rs:55
ClassPyLongObject
python3-sys/src/longobject.rs:7
ClassPyMappingMethods
python27-sys/src/object.rs:287
ClassPyMappingMethods
python3-sys/src/object.rs:304
ClassPyMemAllocator
python3-sys/src/pymem.rs:36
EnumPyMemAllocatorDomain
python3-sys/src/pymem.rs:27
ClassPyMemAllocatorEx
python3-sys/src/pymem.rs:47
ClassPyMemberDef
python27-sys/src/structmember.rs:8
ClassPyMemberDef
python3-sys/src/structmember.rs:8
ClassPyMemoryViewObject
python27-sys/src/memoryobject.rs:40
ClassPyMethodChain
python27-sys/src/methodobject.rs:77
ClassPyMethodDef
python27-sys/src/methodobject.rs:40
next →1–100 of 186, ranked by callers