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§
source§impl<'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
source§impl<'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>)
source§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn 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: 24 bytes