Skip to main content

EmitInput

Struct EmitInput 

Source
pub struct EmitInput {
Show 14 fields pub checked_bodies: CheckedBodies, pub files: FxHashMap<u32, File>, pub definitions: FxHashMap<Symbol, Definition>, pub entry_package_id: String, pub unused_imports: UnusedImports, pub bindings: EmitBindings, pub cached_packages: FxHashSet<String>, pub equality_index: EqualityIndex, pub test_index: TestIndex, pub go_package_names: FxHashMap<String, String>, pub go_package_ids: FxHashSet<String>, pub files_with_unspellable_types: FxHashSet<u32>, pub pattern_positions: PatternPositions, pub go_method_policy: GoMethodPolicy,
}

Fields§

§checked_bodies: CheckedBodies§files: FxHashMap<u32, File>§definitions: FxHashMap<Symbol, Definition>§entry_package_id: String§unused_imports: UnusedImports§bindings: EmitBindings§cached_packages: FxHashSet<String>§equality_index: EqualityIndex§test_index: TestIndex§go_package_names: FxHashMap<String, String>§go_package_ids: FxHashSet<String>§files_with_unspellable_types: FxHashSet<u32>§pattern_positions: PatternPositions§go_method_policy: GoMethodPolicy

Trait Implementations§

Source§

impl Default for EmitInput

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl Forget for EmitInput

§

impl Freeze for EmitInput

§

impl Move for EmitInput

§

impl RefUnwindSafe for EmitInput

§

impl Send for EmitInput
where RawTable<(u32, FileBodies)>: Send, RawTable<(u32, File)>: Send, RawTable<(Symbol, Definition)>: Send, RawVecInner: Send, RawTable<(ImportKey, ())>: Send, RawTable<(BindingId, BindingMutation)>: Send, RawTable<(BindingId, BindingId)>: Send, RawTable<(String, ())>: Send, RawTable<(String, EqualityInfo)>: Send, RawTable<(String, Vec<EqualityRecipe>)>: Send, EcoVec<u8>: Send, RawTable<(String, String)>: Send, RawTable<(u32, ())>: Send, RawTable<(Span, Type)>: Send, NodeRef<Owned, String, SetValZST, LeafOrInternal>: Send, BoxRaw<(String, SetValZST)>: Send,

§

impl Sync for EmitInput
where RawTable<(u32, FileBodies)>: Sync, RawTable<(u32, File)>: Sync, RawTable<(Symbol, Definition)>: Sync, RawVecInner: Sync, RawTable<(ImportKey, ())>: Sync, RawTable<(BindingId, BindingMutation)>: Sync, RawTable<(BindingId, BindingId)>: Sync, RawTable<(String, ())>: Sync, RawTable<(String, EqualityInfo)>: Sync, RawTable<(String, Vec<EqualityRecipe>)>: Sync, EcoVec<u8>: Sync, RawTable<(String, String)>: Sync, RawTable<(u32, ())>: Sync, RawTable<(Span, Type)>: Sync, NodeRef<Owned, String, SetValZST, LeafOrInternal>: Sync, BoxRaw<(String, SetValZST)>: Sync,

§

impl Unpin for EmitInput

§

impl UnsafeUnpin for EmitInput

§

impl UnwindSafe for EmitInput

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.