Module lrs::marker

Type markers

Types

KindNameDescription
Trait Copy

Objects that can safely be copied via memcpy.

Trait Leak

Objects that can be leaked without causing memory unsafety.

Struct NoSend

A dummy object that is !Send

Struct NoSync

A dummy object that is !Sync.

Struct PhantomData

A dummy type for unused type parameters.

Trait Pod

Objects that are safe to use if they contain a random bit pattern.

Trait Send

Objects whose ownership can be moved from one thread to another.

Trait Sized

Objects whose size known at compile time.

Trait Sync

Objects that allow immutable access from threads other than their owning thread.