[][src]Crate zc

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.

Guarded

Requirement for a Dependant type with the guarantee it will protect its internal state.

NoInteriorMut

Implemented for types that have no interior mutability.

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
NoInteriorMut