Struct rustc_interface::passes::boxed_resolver::BoxedResolver
source · pub struct BoxedResolver(Pin<Box<BoxedResolverInner>>);
Tuple Fields§
§0: Pin<Box<BoxedResolverInner>>
Implementations§
source§impl BoxedResolver
impl BoxedResolver
pub(super) fn new(
session: Lrc<Session>,
make_resolver: impl for<'a> FnOnce(&'a Session, &'a ResolverArenas<'a>) -> Resolver<'a>
) -> BoxedResolver
pub fn access<F: for<'a> FnOnce(&mut Resolver<'a>) -> R, R>(&mut self, f: F) -> R
pub fn to_resolver_outputs(
resolver: Rc<RefCell<BoxedResolver>>
) -> ResolverOutputs
Auto Trait Implementations§
impl !RefUnwindSafe for BoxedResolver
impl !Send for BoxedResolver
impl !Sync for BoxedResolver
impl Unpin for BoxedResolver
impl !UnwindSafe for BoxedResolver
Blanket Implementations§
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: 8 bytes