Struct rustc_query_system::query::ArenaCacheSelector
source · pub struct ArenaCacheSelector<'tcx>(PhantomData<&'tcx ()>);
Tuple Fields
0: PhantomData<&'tcx ()>
Trait Implementations
sourceimpl<'tcx, K: Eq + Hash, V: 'tcx> CacheSelector<K, V> for ArenaCacheSelector<'tcx>
impl<'tcx, K: Eq + Hash, V: 'tcx> CacheSelector<K, V> for ArenaCacheSelector<'tcx>
type Cache = ArenaCache<'tcx, K, V>
Auto Trait Implementations
impl<'tcx> RefUnwindSafe for ArenaCacheSelector<'tcx>
impl<'tcx> Send for ArenaCacheSelector<'tcx>
impl<'tcx> Sync for ArenaCacheSelector<'tcx>
impl<'tcx> Unpin for ArenaCacheSelector<'tcx>
impl<'tcx> UnwindSafe for ArenaCacheSelector<'tcx>
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: 0 bytes