pub struct BuiltinFn {
pub name: &'static str,
pub runtime_fn: &'static str,
pub arities: &'static [usize],
pub shape: BuiltinShape,
pub hint: &'static str,
}Expand description
One builtin: its name, the doge-runtime function a call emits, the argument
counts it accepts, its emission shape, and the call-shape hint for arity
diagnostics.
Fields§
§name: &'static str§runtime_fn: &'static str§arities: &'static [usize]§shape: BuiltinShape§hint: &'static strImplementations§
Auto Trait Implementations§
impl Freeze for BuiltinFn
impl RefUnwindSafe for BuiltinFn
impl Send for BuiltinFn
impl Sync for BuiltinFn
impl Unpin for BuiltinFn
impl UnsafeUnpin for BuiltinFn
impl UnwindSafe for BuiltinFn
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