ParamsSrc in rustdoc::clean - Rust (original) (raw)
enum ParamsSrc<'tcx> {
Body(BodyId),
Idents(&'tcx [Option<Ident>]),
}
Variants§
Body(BodyId)
Idents(&'tcx [Option<Ident>])
Auto Trait Implementations§
impl<'tcx> Freeze for ParamsSrc<'tcx>
impl<'tcx> RefUnwindSafe for ParamsSrc<'tcx>
impl<'tcx> Send for ParamsSrc<'tcx>
impl<'tcx> Sync for ParamsSrc<'tcx>
impl<'tcx> Unpin for ParamsSrc<'tcx>
impl<'tcx> UnwindSafe for ParamsSrc<'tcx>
Blanket Implementations§
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: 16 bytes
Size for each variant:
Body
: 16 bytesIdents
: 16 bytes