[−][src]Struct rustc_passes::layout_test::LayoutTest
Fields
tcx: TyCtxt<'tcx>Implementations
impl<'tcx> LayoutTest<'tcx>[src]
pub(in layout_test) fn dump_layout_of(
&self,
item_def_id: LocalDefId,
item: &Item<'tcx>,
attr: &Attribute
)[src]
&self,
item_def_id: LocalDefId,
item: &Item<'tcx>,
attr: &Attribute
)
Trait Implementations
impl<'tcx> ItemLikeVisitor<'tcx> for LayoutTest<'tcx>[src]
pub fn visit_item(&mut self, item: &'tcx Item<'tcx>)[src]
pub fn visit_trait_item(&mut self, _: &'tcx TraitItem<'tcx>)[src]
pub fn visit_impl_item(&mut self, _: &'tcx ImplItem<'tcx>)[src]
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for LayoutTest<'tcx>
impl<'tcx> !Send for LayoutTest<'tcx>
impl<'tcx> !Sync for LayoutTest<'tcx>
impl<'tcx> Unpin for LayoutTest<'tcx>
impl<'tcx> !UnwindSafe for LayoutTest<'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,