Namespace Subspace :: sus :: ptr

Classes

  • A pointer wrapper which holds a never-null pointer.

Functions

  • Returns an empty Option<T&> if the T* pointer is null, or else returns a reference to the value T wrapped in an Option<T&>.

  • Copies count * size_of<T>() bytes from src to dst. The source and destination may overlap.

  • Copies count * size_of<T>() bytes from src to dst. The source and destination must not overlap.

  • Swaps the object array at x with the object array at y, where both arrays have a length of count.

Operators

Concepts