pub enum ParamAssignment {
PositionalInput(PositionalInput),
NamedInput(NamedInput),
Output {
not: bool,
src: Id,
tgt: Variable,
},
}Variants§
Implementations§
Source§impl ParamAssignment
impl ParamAssignment
pub fn positional(expr: ExprKind) -> ParamAssignment
pub fn named(name: &str, expr: ExprKind) -> ParamAssignment
Trait Implementations§
Source§impl Clone for ParamAssignment
impl Clone for ParamAssignment
Source§fn clone(&self) -> ParamAssignment
fn clone(&self) -> ParamAssignment
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 Debug for ParamAssignment
impl Debug for ParamAssignment
Source§impl PartialEq for ParamAssignment
impl PartialEq for ParamAssignment
impl StructuralPartialEq for ParamAssignment
Auto Trait Implementations§
impl Freeze for ParamAssignment
impl RefUnwindSafe for ParamAssignment
impl Send for ParamAssignment
impl Sync for ParamAssignment
impl Unpin for ParamAssignment
impl UnwindSafe for ParamAssignment
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