pub struct NamedInstantiationArgument<'a> {
pub name: InstantiationArgumentName<'a>,
pub expr: Expr<'a>,
}
Expand description
Represents a named instantiation argument in the AST.
Fields§
§name: InstantiationArgumentName<'a>
The name of the argument.
expr: Expr<'a>
The expression in the argument.
Trait Implementations§
Source§impl<'a> Clone for NamedInstantiationArgument<'a>
impl<'a> Clone for NamedInstantiationArgument<'a>
Source§fn clone(&self) -> NamedInstantiationArgument<'a>
fn clone(&self) -> NamedInstantiationArgument<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for NamedInstantiationArgument<'a>
impl<'a> Debug for NamedInstantiationArgument<'a>
Auto Trait Implementations§
impl<'a> Freeze for NamedInstantiationArgument<'a>
impl<'a> RefUnwindSafe for NamedInstantiationArgument<'a>
impl<'a> Send for NamedInstantiationArgument<'a>
impl<'a> Sync for NamedInstantiationArgument<'a>
impl<'a> Unpin for NamedInstantiationArgument<'a>
impl<'a> UnwindSafe for NamedInstantiationArgument<'a>
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