Struct rustc_infer::infer::opaque_types::table::OpaqueTypeStorage
source · [−]pub struct OpaqueTypeStorage<'tcx> {
pub opaque_types: OpaqueTypeMap<'tcx>,
}Fields
opaque_types: OpaqueTypeMap<'tcx>Implementations
sourceimpl<'tcx> OpaqueTypeStorage<'tcx>
impl<'tcx> OpaqueTypeStorage<'tcx>
pub(crate) fn remove(
&mut self,
key: OpaqueTypeKey<'tcx>,
idx: Option<OpaqueHiddenType<'tcx>>
)
pub fn take_opaque_types(&mut self) -> OpaqueTypeMap<'tcx>
pub(crate) fn with_log<'a>(
&'a mut self,
undo_log: &'a mut InferCtxtUndoLogs<'tcx>
) -> OpaqueTypeTable<'a, 'tcx>
Trait Implementations
sourceimpl<'tcx> Clone for OpaqueTypeStorage<'tcx>
impl<'tcx> Clone for OpaqueTypeStorage<'tcx>
sourcefn clone(&self) -> OpaqueTypeStorage<'tcx>
fn clone(&self) -> OpaqueTypeStorage<'tcx>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'tcx> Debug for OpaqueTypeStorage<'tcx>
impl<'tcx> Debug for OpaqueTypeStorage<'tcx>
sourceimpl<'tcx> Default for OpaqueTypeStorage<'tcx>
impl<'tcx> Default for OpaqueTypeStorage<'tcx>
sourcefn default() -> OpaqueTypeStorage<'tcx>
fn default() -> OpaqueTypeStorage<'tcx>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for OpaqueTypeStorage<'tcx>
impl<'tcx> !Send for OpaqueTypeStorage<'tcx>
impl<'tcx> !Sync for OpaqueTypeStorage<'tcx>
impl<'tcx> Unpin for OpaqueTypeStorage<'tcx>
impl<'tcx> !UnwindSafe for OpaqueTypeStorage<'tcx>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<'a, T> Captures<'a> for T where
T: ?Sized,
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: 24 bytes