pub struct ConstructorFields<'d> {
pub definition: &'d Definition,
pub generics: &'d [Generic],
pub type_args: Vec<Type>,
pub fields: Vec<ConstructorField<'d>>,
}Fields§
§definition: &'d Definition§generics: &'d [Generic]§type_args: Vec<Type>§fields: Vec<ConstructorField<'d>>Auto Trait Implementations§
impl<'d> Forget for ConstructorFields<'d>
impl<'d> Freeze for ConstructorFields<'d>where
&'d Definition: Freeze,
&'d [Generic]: Freeze,
*const u8 is !null: Freeze,
PhantomData<Type>: Freeze,
PhantomData<ConstructorField<'d>>: Freeze,
impl<'d> Move for ConstructorFields<'d>
impl<'d> RefUnwindSafe for ConstructorFields<'d>
impl<'d> Send for ConstructorFields<'d>
impl<'d> Sync for ConstructorFields<'d>
impl<'d> Unpin for ConstructorFields<'d>
impl<'d> UnsafeUnpin for ConstructorFields<'d>where
&'d Definition: UnsafeUnpin,
&'d [Generic]: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
PhantomData<ConstructorField<'d>>: UnsafeUnpin,
impl<'d> UnwindSafe for ConstructorFields<'d>where
&'d Definition: UnwindSafe,
&'d [Generic]: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<Box<[Type]>>: UnwindSafe,
NonNull<u8>: UnwindSafe,
Arc<FunctionType>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
Arc<Spelling>: UnwindSafe,
&'d EcoString: UnwindSafe,
&'d Type: 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