Skip to main content

Module int

Module int 

Source

Re-exportsΒ§

use std::fmt; πŸ”’
use std::num::NonZero; πŸ”’
use rustc_abi::Size; πŸ”’
use rustc_apfloat::Float; πŸ”’
use rustc_apfloat::ieee::Double; πŸ”’
use rustc_apfloat::ieee::Half; πŸ”’
use rustc_apfloat::ieee::Quad; πŸ”’
use rustc_apfloat::ieee::Single; πŸ”’
use rustc_data_structures::stable_hash::StableHash; πŸ”’
use rustc_data_structures::stable_hash::StableHashCtxt; πŸ”’
use rustc_serialize::Decodable; πŸ”’
use rustc_serialize::Decoder; πŸ”’
use rustc_serialize::Encodable; πŸ”’
use rustc_serialize::Encoder; πŸ”’
use rustc_span::bug; πŸ”’
use crate::mir::interpret::Scalar; πŸ”’
use crate::ty::TyCtxt; πŸ”’

MacrosΒ§

from_scalar_int_for_x πŸ”’
from_scalar_int_for_x_signed πŸ”’
from_x_for_scalar_int πŸ”’
from_x_for_scalar_int_signed πŸ”’

StructsΒ§

CharTryFromScalarInt
Error returned when a conversion from ScalarInt to char fails.
ConstInt
A type for representing any integer. Only used for printing.
ScalarInt
The raw bytes of a simple value.

EnumsΒ§

AtomicOrdering
An enum to represent the compiler-side view of intrinsics::AtomicOrdering. This lives here because there’s a method in this file that needs it and it is entirely unclear where else to put this…
SimdAlign
An enum to represent the compiler-side view of intrinsics::simd::SimdAlign.