pub type ScopeDepth = u32;

Trait Implementations§

source§

impl EraseType for u32

§

type Result = [u8; 4]

source§

impl From<ArmId> for u32

source§

fn from(v: ArmId) -> u32

Converts to this type from the input type.
source§

impl From<BasicBlock> for u32

source§

fn from(v: BasicBlock) -> u32

Converts to this type from the input type.
source§

impl From<BlockId> for u32

source§

fn from(v: BlockId) -> u32

Converts to this type from the input type.
source§

impl From<BoundVar> for u32

source§

fn from(v: BoundVar) -> u32

Converts to this type from the input type.
source§

impl From<CounterId> for u32

source§

fn from(v: CounterId) -> u32

Converts to this type from the input type.
source§

impl From<ExprId> for u32

source§

fn from(v: ExprId) -> u32

Converts to this type from the input type.
source§

impl From<ExpressionId> for u32

source§

fn from(v: ExpressionId) -> u32

Converts to this type from the input type.
source§

impl From<FirstStatementIndex> for u32

source§

fn from(v: FirstStatementIndex) -> u32

Converts to this type from the input type.
source§

impl From<GeneratorSavedLocal> for u32

source§

fn from(v: GeneratorSavedLocal) -> u32

Converts to this type from the input type.
source§

impl From<Local> for u32

source§

fn from(v: Local) -> u32

Converts to this type from the input type.
source§

impl From<ParamId> for u32

source§

fn from(v: ParamId) -> u32

Converts to this type from the input type.
source§

impl From<Promoted> for u32

source§

fn from(v: Promoted) -> u32

Converts to this type from the input type.
source§

impl From<RegionVid> for u32

source§

fn from(v: RegionVid) -> u32

Converts to this type from the input type.
source§

impl From<SourceScope> for u32

source§

fn from(v: SourceScope) -> u32

Converts to this type from the input type.
source§

impl From<StmtId> for u32

source§

fn from(v: StmtId) -> u32

Converts to this type from the input type.
source§

impl From<UserTypeAnnotationIndex> for u32

source§

fn from(v: UserTypeAnnotationIndex) -> u32

Converts to this type from the input type.
source§

impl ParameterizedOverTcx for u32

§

type Value<'tcx> = u32

source§

impl TryFrom<ScalarInt> for u32

§

type Error = Size

The type returned in the event of a conversion error.
source§

fn try_from(int: ScalarInt) -> Result<Self, Size>

Performs the conversion.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 4 bytes