pub struct FunctionParameter {
pub ty: Type,
pub name: Option<EcoString>,
}Fields§
§ty: Type§name: Option<EcoString>Implementations§
Trait Implementations§
Source§impl Clone for FunctionParameter
impl Clone for FunctionParameter
Source§impl Debug for FunctionParameter
impl Debug for FunctionParameter
Source§impl PartialEq for FunctionParameter
impl PartialEq for FunctionParameter
impl StructuralPartialEq for FunctionParameter
Auto Trait Implementations§
impl Forget for FunctionParameter
impl Freeze for FunctionParameterwhere
*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 Move for FunctionParameter
impl RefUnwindSafe for FunctionParameter
impl Send for FunctionParameter
impl Sync for FunctionParameter
impl Unpin for FunctionParameter
impl UnsafeUnpin for FunctionParameterwhere
*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 UnwindSafe for FunctionParameterwhere
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