Skip to main content

Value

Type Alias Value 

Source
pub type Value<'tcx> = Result<&'tcx TokenStream, ()>;

Aliased Type§

pub enum Value<'tcx> {
    Ok(&'tcx TokenStream),
    Err(()),
}

Variants§

§

Ok(&'tcx TokenStream)

Contains the success value

§

Err(())

Contains the error value

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.