# mod.rs - source
Source of the Rust file `/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.13.2/src/class/mod.rs`.
Keywords: rust, rustlang, rust-lang

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38

    // Copyright (c) 2017-present PyO3 Project and Contributors

    //! Python object protocols

    #[macro_use]
    mod macros;

    pub mod basic;
    #[cfg(not(Py_LIMITED_API))]
    pub mod buffer;
    pub mod context;
    pub mod descr;
    pub mod gc;
    pub mod iter;
    pub mod mapping;
    #[doc(hidden)]
    pub mod methods;
    pub mod number;
    #[doc(hidden)]
    pub mod proto_methods;
    pub mod pyasync;
    pub mod sequence;

    pub use self::basic::PyObjectProtocol;
    #[cfg(not(Py_LIMITED_API))]
    pub use self::buffer::PyBufferProtocol;
    pub use self::context::PyContextProtocol;
    pub use self::descr::PyDescrProtocol;
    pub use self::gc::{PyGCProtocol, PyTraverseError, PyVisit};
    pub use self::iter::PyIterProtocol;
    pub use self::mapping::PyMappingProtocol;
    #[doc(hidden)]
    pub use self::methods::{
        PyClassAttributeDef, PyGetterDef, PyMethodDef, PyMethodDefType, PyMethodType, PySetterDef,
    };
    pub use self::number::PyNumberProtocol;
    pub use self::pyasync::PyAsyncProtocol;
    pub use self::sequence::PySequenceProtocol;