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<'de, N> Deserialize<'de> for Argument<N>where
N: Deserialize<'de>,
impl<'de, N> Deserialize<'de> for Argument<N>where
N: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<N: PartialEq> PartialEq for Argument<N>
impl<N: PartialEq> PartialEq 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