[][src]Crate memory_slice

Structures and traits to represent raw memory

Macros

align
buffer

! Creates a statically sized buffer on the stack. ! ! buffer(size) returns a buffer of size size aligned as 16 ! ! buffer(size,alignment) returns a buffer of size size aligned as alignment ! ! The argument size must be a constant expression and alignement a litteral

Structs

BufferAs
Memory

Represent a raw memory range

OwnedRef

A reference that drops its pointee when it is dropped

OwnedSlice

A reference to a slice that drops its pointee when it is dropped

Traits

AsMemory

Enable conversion of any type to Memory

AsMutMemory

Enable conversion of any type to a mutable memory.