[][src]Module core_extensions::prelude

The items from this crate which are almost always used.

Traits

MarkerType

Represents a zero-sized marker type .

SelfOps

Extension trait for every type.

StringExt

Extension trait for strings (any type that borrows as str).

TypeIdentity

Allows converting Self to Self::Type by proving that both types are equal.

TypePanic

A trait used to cause a compile-time error mentioning the types constrained by it.

Type Definitions

TIdentity

A type-level identity function

VariantPhantom

Type alias for a variant PhantomData withhout drop-check.