Struct rustc_ast_lowering::item::GenericsCtor [−][src]
pub(crate) struct GenericsCtor<'hir> {
pub(crate) params: SmallVec<[GenericParam<'hir>; 4]>,
where_clause: WhereClause<'hir>,
span: Span,
}Expand description
Helper struct for delayed construction of Generics.
Fields
params: SmallVec<[GenericParam<'hir>; 4]>where_clause: WhereClause<'hir>span: SpanImplementations
impl<'hir> GenericsCtor<'hir>[src]
impl<'hir> GenericsCtor<'hir>[src]pub(crate) fn into_generics(self, arena: &'hir Arena<'hir>) -> Generics<'hir>[src]
Auto Trait Implementations
impl<'hir> RefUnwindSafe for GenericsCtor<'hir>
impl<'hir> !Send for GenericsCtor<'hir>
impl<'hir> !Sync for GenericsCtor<'hir>
impl<'hir> Unpin for GenericsCtor<'hir>
impl<'hir> UnwindSafe for GenericsCtor<'hir>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,