Struct rustc_ty_utils::consts::IsThirPolymorphic
source · Fields§
§is_poly: bool
§thir: &'a Thir<'tcx>
Implementations§
source§impl<'a, 'tcx> IsThirPolymorphic<'a, 'tcx>
impl<'a, 'tcx> IsThirPolymorphic<'a, 'tcx>
fn expr_is_poly(&mut self, expr: &Expr<'tcx>) -> bool
fn pat_is_poly(&mut self, pat: &Pat<'tcx>) -> bool
Trait Implementations§
source§impl<'a, 'tcx> Visitor<'a, 'tcx> for IsThirPolymorphic<'a, 'tcx>
impl<'a, 'tcx> Visitor<'a, 'tcx> for IsThirPolymorphic<'a, 'tcx>
Auto Trait Implementations§
impl<'a, 'tcx> !RefUnwindSafe for IsThirPolymorphic<'a, 'tcx>
impl<'a, 'tcx> !Send for IsThirPolymorphic<'a, 'tcx>
impl<'a, 'tcx> !Sync for IsThirPolymorphic<'a, 'tcx>
impl<'a, 'tcx> Unpin for IsThirPolymorphic<'a, 'tcx>where
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for IsThirPolymorphic<'a, 'tcx>
Blanket Implementations§
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: 16 bytes