pub struct CallArg {
pub name: Option<String>,
pub value: Expr,
}Expand description
Call argument (positional or named)
Fields§
§name: Option<String>None = positional argument, Some = named argument (e.g., freq: 440)
value: ExprArgument value
Implementations§
Trait Implementations§
impl StructuralPartialEq for CallArg
Auto Trait Implementations§
impl Freeze for CallArg
impl RefUnwindSafe for CallArg
impl Send for CallArg
impl Sync for CallArg
impl Unpin for CallArg
impl UnsafeUnpin for CallArg
impl UnwindSafe for CallArg
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