TypesTypesRust provides several mechanisms to change or define the type of primitive anduser defined types. The following sections cover: Casting between primitive typesSpecifying the desired type of literalsUsing type inferenceAliasing types