Crate zc

Source
Expand description

Crate providing Zc for self-referential zero-copy structures.

Re-exports§

pub use aliasable;

Macros§

from
Convenience macro for constructing a Zc type via a Dependant’s From.
try_from
Convenience macro for constructing a Zc type via a Dependant’s TryFrom.

Structs§

Zc
Zero-copy structure consisting of an Owner and a Dependant.

Traits§

Dependant
Implemented for types that use data provided by an Owner and guarantee that internal state is protected.
Owner
Represents the owner of data with an associated storage type.
Storage
Implemented for types that can safely provide a stable, aliasable reference to data they own.

Derive Macros§

Dependant