pub struct ConstructorField<'d> {
pub name: &'d EcoString,
pub name_span: Span,
pub declared_ty: &'d Type,
pub ty: Type,
}Fields§
§name: &'d EcoString§name_span: Span§declared_ty: &'d Type§ty: TypeAuto Trait Implementations§
impl<'d> Forget for ConstructorField<'d>
impl<'d> Freeze for ConstructorField<'d>where
&'d EcoString: Freeze,
&'d Type: Freeze,
*const ArcInner<Box<[Type]>> is !null: Freeze,
PhantomData<ArcInner<Box<[Type]>>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<FunctionType> is !null: Freeze,
PhantomData<ArcInner<FunctionType>>: Freeze,
PhantomData<Type>: Freeze,
*const Type is !null: Freeze,
*const ArcInner<Spelling> is !null: Freeze,
PhantomData<ArcInner<Spelling>>: Freeze,
impl<'d> Move for ConstructorField<'d>
impl<'d> RefUnwindSafe for ConstructorField<'d>
impl<'d> Send for ConstructorField<'d>
impl<'d> Sync for ConstructorField<'d>
impl<'d> Unpin for ConstructorField<'d>
impl<'d> UnsafeUnpin for ConstructorField<'d>where
&'d EcoString: UnsafeUnpin,
&'d Type: UnsafeUnpin,
*const ArcInner<Box<[Type]>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Box<[Type]>>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<FunctionType> is !null: UnsafeUnpin,
PhantomData<ArcInner<FunctionType>>: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
*const Type is !null: UnsafeUnpin,
*const ArcInner<Spelling> is !null: UnsafeUnpin,
PhantomData<ArcInner<Spelling>>: UnsafeUnpin,
impl<'d> UnwindSafe for ConstructorField<'d>where
&'d EcoString: UnwindSafe,
&'d Type: UnwindSafe,
Arc<Box<[Type]>>: UnwindSafe,
NonNull<u8>: UnwindSafe,
Arc<FunctionType>: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<Spelling>: UnwindSafe,
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