Struct rustc_ast_lowering::GenericArgsCtor
source · [−]pub(crate) struct GenericArgsCtor<'hir> {
pub(crate) args: SmallVec<[GenericArg<'hir>; 4]>,
pub(crate) bindings: &'hir [TypeBinding<'hir>],
pub(crate) parenthesized: bool,
pub(crate) span: Span,
}Expand description
Helper struct for delayed construction of GenericArgs.
Fields
args: SmallVec<[GenericArg<'hir>; 4]>bindings: &'hir [TypeBinding<'hir>]parenthesized: boolspan: SpanImplementations
pub(crate) fn into_generic_args(
self,
this: &LoweringContext<'_, 'hir>
) -> &'hir GenericArgs<'hir>
Auto Trait Implementations
impl<'hir> RefUnwindSafe for GenericArgsCtor
impl<'hir> !Send for GenericArgsCtor
impl<'hir> !Sync for GenericArgsCtor
impl<'hir> Unpin for GenericArgsCtor
impl<'hir> UnwindSafe for GenericArgsCtor
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: 392 bytes