tiny.preserves.Ownership
Defined in atom.
Whether the holder of some bytes owns them, and frees them with its own deinit, or borrows them from an owner that keeps them alive.
API (2)
Fields and members
Public fields and members.
Source
Source: lib/preserves/src/atom.zig:47
zig
/// Whether the holder of some bytes owns them, and frees them with its own `deinit`, or borrows/// them from an owner that keeps them alive. Code that holds atom bytes apart from their value/// reads this to decide whether `deinit` frees them.pub const Ownership = enum { borrowed, owned };Source: lib/preserves/src/root.zig:133
zig
pub const Ownership = atom.Ownership;Also reachable as
Audit
| Definitions | 1 |
|---|---|
| Public names | 3 |
| Members | 2 |
| Version | 26.7.0 |
| Revision | daab053ee433 |