Struct rustc_ast_lowering::GenericArgsCtor [−][src]
pub(crate) struct GenericArgsCtor<'hir> {
args: SmallVec<[GenericArg<'hir>; 4]>,
bindings: &'hir [TypeBinding<'hir>],
parenthesized: bool,
}Expand description
Helper struct for delayed construction of GenericArgs.
Fields
args: SmallVec<[GenericArg<'hir>; 4]>bindings: &'hir [TypeBinding<'hir>]parenthesized: boolImplementations
impl<'hir> GenericArgsCtor<'hir>[src]
impl<'hir> GenericArgsCtor<'hir>[src]pub(crate) fn is_empty(&self) -> bool[src]
pub(crate) fn into_generic_args(
self,
arena: &'hir Arena<'hir>
) -> GenericArgs<'hir>[src]
self,
arena: &'hir Arena<'hir>
) -> GenericArgs<'hir>
Auto Trait Implementations
impl<'hir> RefUnwindSafe for GenericArgsCtor<'hir>
impl<'hir> !Send for GenericArgsCtor<'hir>
impl<'hir> !Sync for GenericArgsCtor<'hir>
impl<'hir> Unpin for GenericArgsCtor<'hir>
impl<'hir> UnwindSafe for GenericArgsCtor<'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,