pub type LateLintPassObject<'tcx> = Box<dyn LateLintPass<'tcx> + 'tcx>;

Aliased Type§

struct LateLintPassObject<'tcx>(Unique<dyn LateLintPass<'tcx> + 'tcx>, Global);


§0: Unique<dyn LateLintPass<'tcx> + 'tcx>§1: Global

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,


type Target = T

The resulting type after dereferencing.

fn deref(&self) -> &T

Dereferences the value.

impl LintPassObject for Box<dyn LateLintPass<'_> + '_>


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