pub struct ImportBuilder<F = Identity> { /* private fields */ }
Expand description

Import builder

Implementations

New import builder

New import builder with callback (in chained context)

Set/override module name

Set/override field name

Set/override both module name and field name

Set/override external mapping for this import

Start new external mapping builder

Finalize current builder spawning the resulting struct

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.