Struct gluon_base::ast::Argument
source · pub struct Argument<N> {
pub arg_type: ArgType,
pub name: N,
}
Fields§
§arg_type: ArgType
§name: N
Implementations§
Trait Implementations§
source§impl<'ast, Id> AstAlloc<'ast, Id> for Argument<SpannedIdent<Id>>
impl<'ast, Id> AstAlloc<'ast, Id> for Argument<SpannedIdent<Id>>
fn alloc(self, arena: &'ast Arena<'ast, Id>) -> &'ast mut Self
fn alloc_extend( iter: impl IntoIterator<Item = Self>, arena: &'ast Arena<'ast, Id> ) -> &'ast mut [Self]
source§impl<N: PartialEq> PartialEq<Argument<N>> for Argument<N>
impl<N: PartialEq> PartialEq<Argument<N>> for Argument<N>
impl<N: Eq> Eq for Argument<N>
impl<N> StructuralEq for Argument<N>
impl<N> StructuralPartialEq for Argument<N>
Auto Trait Implementations§
impl<N> RefUnwindSafe for Argument<N>where N: RefUnwindSafe,
impl<N> Send for Argument<N>where N: Send,
impl<N> Sync for Argument<N>where N: Sync,
impl<N> Unpin for Argument<N>where N: Unpin,
impl<N> UnwindSafe for Argument<N>where N: 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