Struct rustc_metadata::native_libs::Collector
source · [−]Fields
tcx: TyCtxt<'tcx>libs: Vec<NativeLib>Implementations
sourceimpl Collector<'_>
impl Collector<'_>
fn register_native_lib(&mut self, span: Option<Span>, lib: NativeLib)
fn process_command_line(&mut self)
fn i686_arg_list_size(&self, item: &ForeignItemRef) -> usize
fn build_dll_import(&self, abi: Abi, item: &ForeignItemRef) -> DllImport
Trait Implementations
sourceimpl<'tcx> ItemLikeVisitor<'tcx> for Collector<'tcx>
impl<'tcx> ItemLikeVisitor<'tcx> for Collector<'tcx>
fn visit_item(&mut self, it: &'tcx Item<'tcx>)
fn visit_trait_item(&mut self, _it: &'tcx TraitItem<'tcx>)
fn visit_impl_item(&mut self, _it: &'tcx ImplItem<'tcx>)
fn visit_foreign_item(&mut self, _it: &'tcx ForeignItem<'tcx>)
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for Collector<'tcx>
impl<'tcx> !Send for Collector<'tcx>
impl<'tcx> !Sync for Collector<'tcx>
impl<'tcx> Unpin for Collector<'tcx>
impl<'tcx> !UnwindSafe for Collector<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized,
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: 32 bytes