pub struct OperArg {
pub name: String,
pub default: Option<Term>,
}Expand description
Represents an additional argument associated with an operator definition.
Each OperArg defines a named parameter (an atom) and an optional
default value stored as an [arena_terms::Term].
Fields§
§name: StringThe argument name (atom identifier).
default: Option<Term>Optional default value for the argument.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OperArg
impl RefUnwindSafe for OperArg
impl Send for OperArg
impl Sync for OperArg
impl Unpin for OperArg
impl UnwindSafe for OperArg
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