Skip to main content

OptTyRelPath

Type Alias OptTyRelPath 

Source
type OptTyRelPath<'tcx> = Option<(&'tcx Ty<'tcx>, &'tcx PathSegment<'tcx>)>;

Aliased Type§

enum OptTyRelPath<'tcx> {
    None,
    Some((&'tcx Ty<'tcx>, &'tcx PathSegment<'tcx>)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some((&'tcx Ty<'tcx>, &'tcx PathSegment<'tcx>))

Some value of type T.

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.