logos.mem.uninit
Module mem · package logos-mem
Types
structMaybeUninit
struct MaybeUninit
Wraps a possibly-uninitialized T; mirrors core::mem::MaybeUninit.
Storage is an inner value: T field, not a union: uninit() zero-fills, so reads are
defined-but-meaningless rather than UB. Caller must still initialize before reading as T.
If T: Drop, going out of scope without assume_init runs drop on the zero-shaped value.
Fields
value: T