Module write_only

Module write_only 

Source
Expand description

The WriteOnly type.

This type gets its own module in order to provide an encapsulation boundary around the substantial unsafe code required to implement WriteOnly.

Portions of this code and documentation have been copied from the Rust standard library.

Structs§

WriteOnly
Like &'a mut T, but allows only write operations.
WriteOnlyIter
Iterator over the elements of WriteOnly<[T]>.

Functions§

checked_range_to_start_len 🔒