pub struct BuiltinDef {
pub module: &'static str,
pub name: &'static str,
pub ty: &'static str,
pub kind: BuiltinKind,
pub index: IndexConvention,
pub doc: &'static str,
pub complexity: Option<&'static str>,
}Fields§
§module: &'static str§name: &'static str§ty: &'static strLex type syntax, e.g. (Str, Str, Int) -> Option[Int].
kind: BuiltinKind§index: IndexConvention§doc: &'static strOne or two sentences for the reference; states edge cases.
complexity: Option<&'static str>Cost as a function of the inputs, when it is not obvious.
Trait Implementations§
Source§impl Clone for BuiltinDef
impl Clone for BuiltinDef
Source§fn clone(&self) -> BuiltinDef
fn clone(&self) -> BuiltinDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BuiltinDef
Auto Trait Implementations§
impl Freeze for BuiltinDef
impl RefUnwindSafe for BuiltinDef
impl Send for BuiltinDef
impl Sync for BuiltinDef
impl Unpin for BuiltinDef
impl UnsafeUnpin for BuiltinDef
impl UnwindSafe for BuiltinDef
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