Struct rustc_hir::hir::PolyTraitRef [−][src]
pub struct PolyTraitRef<'hir> {
pub bound_generic_params: &'hir [GenericParam<'hir>],
pub trait_ref: TraitRef<'hir>,
pub span: Span,
}
Fields
bound_generic_params: &'hir [GenericParam<'hir>]
The 'a
in for<'a> Foo<&'a T>
.
trait_ref: TraitRef<'hir>
The Foo<&'a T>
in for<'a> Foo<&'a T>
.
span: Span
Trait Implementations
Auto Trait Implementations
impl<'hir> RefUnwindSafe for PolyTraitRef<'hir>
impl<'hir> !Send for PolyTraitRef<'hir>
impl<'hir> !Sync for PolyTraitRef<'hir>
impl<'hir> Unpin for PolyTraitRef<'hir>
impl<'hir> UnwindSafe for PolyTraitRef<'hir>
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 40 bytes