Crate situ

source · []
Expand description

situ is a set of types and traits for handling types that cannot be moved.

Modules

Memory alocation APIs.
Utilities for formatting and printing raw values.
Variants of ops traits that work with raw references.
Utilities for the str primitive type.

Structs

An immovable mutable reference, like &mut T that cannot be relocated.
A pointer type for memory allocation.
An immutable reference, like &T.
An immovable owned value in borrowed backing memory.

Traits

A type that can be dropped through a raw pointer, without creating an intermediary reference.
A type with values that are always located in a particular region.

Derive Macros

Derives DropRaw on the annotated type.