Struct rustc_interface::passes::boxed_resolver::BoxedResolver
source · pub struct BoxedResolver(Pin<Box<BoxedResolverInner>>);
Tuple Fields
0: Pin<Box<BoxedResolverInner>>
Implementations
sourceimpl 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>>
) -> (Definitions, Box<CrateStoreDyn>, ResolverOutputs, ResolverAstLowering)
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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