rustc_const_eval::const_eval

Type Alias ValTreeCreationResult

Source
pub(crate) type ValTreeCreationResult<'tcx> = Result<ValTree<'tcx>, ValTreeCreationError<'tcx>>;

Aliased Type§

enum ValTreeCreationResult<'tcx> {
    Ok(ValTree<'tcx>),
    Err(ValTreeCreationError<'tcx>),
}

Variants§

§

Ok(ValTree<'tcx>)

Contains the success value

§

Err(ValTreeCreationError<'tcx>)

Contains the error value

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: 24 bytes

Size for each variant:

  • Ok: 24 bytes
  • Err: 16 bytes