Struct rustc_metadata::rmeta::TraitImpls
source · pub(crate) struct TraitImpls {
trait_id: (u32, DefIndex),
impls: LazyArray<(DefIndex, Option<SimplifiedType>)>,
}
Fields
trait_id: (u32, DefIndex)
impls: LazyArray<(DefIndex, Option<SimplifiedType>)>
Trait Implementations
sourceimpl<'tcx, '__a> Decodable<DecodeContext<'__a, 'tcx>> for TraitImpls
impl<'tcx, '__a> Decodable<DecodeContext<'__a, 'tcx>> for TraitImpls
fn decode(__decoder: &mut DecodeContext<'__a, 'tcx>) -> Self
sourceimpl<'tcx, '__a> Encodable<EncodeContext<'__a, 'tcx>> for TraitImpls
impl<'tcx, '__a> Encodable<EncodeContext<'__a, 'tcx>> for TraitImpls
fn encode(&self, __encoder: &mut EncodeContext<'__a, 'tcx>)
sourceimpl ParameterizedOverTcx for TraitImpls
impl ParameterizedOverTcx for TraitImpls
type Value<'tcx> = TraitImpls
Auto Trait Implementations
impl RefUnwindSafe for TraitImpls
impl Send for TraitImpls
impl Sync for TraitImpls
impl Unpin for TraitImpls
impl UnwindSafe for TraitImpls
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
impl<'a, T> Captures<'a> for Twhere
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