Docs.rs
rustpython-common-0.5.0
rustpython-common 0.5.0
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
coolreader18
github:rustpython:packaging
Dependencies
ascii ^1.1
normal
bitflags ^2.11.0
normal
cfg-if ^1.0
normal
getrandom ^0.3
normal
itertools ^0.14.0
normal
libc ^0.2.183
normal
lock_api ^0.4
normal
malachite-base ^0.9.1
normal
malachite-bigint ^0.9.1
normal
malachite-q ^0.9.1
normal
num-complex ^0.4.6
normal
num-traits ^0.2
normal
parking_lot ^0.12.3
normal
optional
radium ^1.1.1
normal
rustpython-literal ^0.5.0
normal
rustpython-wtf8 ^0.5.0
normal
siphasher ^1
normal
unicode_names2 ^2.0.0
normal
nix ^0.30
normal
widestring ^1.2.0
normal
windows-sys ^0.61.2
normal
Versions
19.54%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module refcount
rustpython_
common
0.5.0
Module refcount
Module Items
Structs
Functions
In crate rustpython_
common
rustpython_common
Module
refcount
Copy item path
Source
Structs
§
RefCount
Reference count using state layout with LEAKED support.
Functions
§
flush_
deferred_
drops
Flush all deferred drop operations. This is automatically called when exiting a deferred context.
try_
defer_
drop
Try to defer a drop-related operation. If inside a deferred context, the operation is queued. Otherwise, it executes immediately.
with_
deferred_
drops
Execute a function within a deferred drop context. Any calls to
try_defer_drop
within this context will be queued and executed when the context exits (even on panic).