Trait r::callable::core::Builtin

source ·
pub trait Builtin:
    Callable
    + CallableClone
    + Format
    + DynCompare
    + Sync
    + Send {
    // Provided methods
    fn is_transparent(&self) -> bool { ... }
    fn is_infix(&self) -> bool { ... }
    fn kind(&self) -> SymKind { ... }
}

Provided Methods§

source

fn is_transparent(&self) -> bool

source

fn is_infix(&self) -> bool

source

fn kind(&self) -> SymKind

Trait Implementations§

source§

impl Clone for Box<dyn Builtin>

source§

fn clone(&self) -> Box<dyn Builtin>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Box<dyn Builtin>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for dyn Builtin

source§

fn eq(&self, other: &dyn Builtin) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Implementations on Foreign Types§

source§

impl Builtin for String

Implementors§

source§

impl Builtin for KeywordBlock

source§

impl Builtin for KeywordFor

source§

impl Builtin for KeywordIf

source§

impl Builtin for KeywordList

source§

impl Builtin for KeywordParen

source§

impl Builtin for KeywordRepeat

source§

impl Builtin for KeywordReturn

source§

impl Builtin for KeywordVec

source§

impl Builtin for KeywordWhile

source§

impl Builtin for InfixAdd

source§

impl Builtin for InfixAnd

source§

impl Builtin for InfixAssign

source§

impl Builtin for InfixColon

source§

impl Builtin for InfixDiv

source§

impl Builtin for InfixDollar

source§

impl Builtin for InfixEqual

source§

impl Builtin for InfixGreater

source§

impl Builtin for InfixGreaterEqual

source§

impl Builtin for InfixLess

source§

impl Builtin for InfixLessEqual

source§

impl Builtin for InfixMod

source§

impl Builtin for InfixMul

source§

impl Builtin for InfixNotEqual

source§

impl Builtin for InfixOr

source§

impl Builtin for InfixPipe

source§

impl Builtin for InfixPow

source§

impl Builtin for InfixSub

source§

impl Builtin for InfixVectorAnd

source§

impl Builtin for InfixVectorOr

source§

impl Builtin for PostfixIndex

source§

impl Builtin for PostfixPack

source§

impl Builtin for PostfixVecIndex

source§

impl Builtin for PrefixNot

source§

impl Builtin for PrefixPack

source§

impl Builtin for PrefixSub

source§

impl Builtin for PrimitiveC

source§

impl Builtin for PrimitiveCallstack

source§

impl Builtin for PrimitiveEnvironment

source§

impl Builtin for PrimitiveEval

source§

impl Builtin for PrimitiveIsNull

source§

impl Builtin for PrimitiveLength

source§

impl Builtin for PrimitiveList

source§

impl Builtin for PrimitiveNames

source§

impl Builtin for PrimitiveParent

source§

impl Builtin for PrimitivePaste

source§

impl Builtin for PrimitivePrint

source§

impl Builtin for PrimitiveQ

source§

impl Builtin for PrimitiveQuote

source§

impl Builtin for PrimitiveRnorm

source§

impl Builtin for PrimitiveRunif

source§

impl Builtin for PrimitiveSubstitute

source§

impl Builtin for PrimitiveSum

source§

impl Builtin for PrimitiveTypeOf