pub enum FuncallArg {
Real(Expr),
Str(String),
}Expand description
One positional argument to an AMPL imported function call. AMPL splits
arguments into reals (carried by ra[]) and strings (carried by sa[]);
FuncallArg mirrors that split. Real args are arbitrary expressions.
Variants§
Trait Implementations§
Source§impl Clone for FuncallArg
impl Clone for FuncallArg
Source§fn clone(&self) -> FuncallArg
fn clone(&self) -> FuncallArg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for FuncallArg
impl !Sync for FuncallArg
impl Freeze for FuncallArg
impl RefUnwindSafe for FuncallArg
impl Unpin for FuncallArg
impl UnsafeUnpin for FuncallArg
impl UnwindSafe for FuncallArg
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