pub enum FunctionKind {
Internal(InternalFunction),
Deprecated(DeprecatedFunction),
Closure(ClosureFunction),
Mf(MfFunction),
}
Expand description
函数类型枚举
定义了表达式系统中所有可用的函数类型
Variants§
Internal(InternalFunction)
内置函数:系统预定义的标准函数
Deprecated(DeprecatedFunction)
已废弃函数:为向后兼容保留的旧函数
Closure(ClosureFunction)
闭包函数:用于数组操作的特殊函数
Mf(MfFunction)
自定义函数:用户定义的扩展函数
Trait Implementations§
Source§impl Clone for FunctionKind
impl Clone for FunctionKind
Source§fn clone(&self) -> FunctionKind
fn clone(&self) -> FunctionKind
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 FunctionKind
impl Debug for FunctionKind
Source§impl Display for FunctionKind
impl Display for FunctionKind
Source§impl PartialEq for FunctionKind
impl PartialEq for FunctionKind
Source§impl TryFrom<&str> for FunctionKind
impl TryFrom<&str> for FunctionKind
impl Eq for FunctionKind
impl StructuralPartialEq for FunctionKind
Auto Trait Implementations§
impl Freeze for FunctionKind
impl RefUnwindSafe for FunctionKind
impl Send for FunctionKind
impl Sync for FunctionKind
impl Unpin for FunctionKind
impl UnwindSafe for FunctionKind
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