pub struct FunctionKey {
pub name: String,
pub num_args: i32,
}Expand description
Composite lookup key for functions: (UPPERCASE name, num_args).
-1 for num_args means variadic (any number of arguments).
Names are stored as uppercase ASCII for case-insensitive matching.
Fields§
§name: StringFunction name, stored as uppercase ASCII.
num_args: i32Expected argument count, or -1 for variadic.
Implementations§
Trait Implementations§
Source§impl Clone for FunctionKey
impl Clone for FunctionKey
Source§fn clone(&self) -> FunctionKey
fn clone(&self) -> FunctionKey
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 FunctionKey
impl Debug for FunctionKey
Source§impl Hash for FunctionKey
impl Hash for FunctionKey
Source§impl PartialEq for FunctionKey
impl PartialEq for FunctionKey
impl Eq for FunctionKey
impl StructuralPartialEq for FunctionKey
Auto Trait Implementations§
impl Freeze for FunctionKey
impl RefUnwindSafe for FunctionKey
impl Send for FunctionKey
impl Sync for FunctionKey
impl Unpin for FunctionKey
impl UnsafeUnpin for FunctionKey
impl UnwindSafe for FunctionKey
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