Struct jlrs::value::expr::Expr[][src]

#[repr(transparent)]pub struct Expr<'frame>(_, _);

A compound expression in Julia ASTs.

Implementations

impl<'frame> Expr<'frame>[src]

pub fn head(self) -> Symbol<'frame>[src]

Returns the head of the expression.

pub fn args(self) -> Array<'frame, 'static>[src]

Returns the arguments of the expression.

pub fn as_value(self) -> Value<'frame, 'static>[src]

Convert self to a Value.

Trait Implementations

impl<'frame, 'data> Cast<'frame, 'data> for Expr<'frame>[src]

type Output = Self

impl<'frame> Clone for Expr<'frame>[src]

impl<'frame> Copy for Expr<'frame>[src]

impl<'frame> Eq for Expr<'frame>[src]

impl<'frame> Hash for Expr<'frame>[src]

impl<'frame> Into<Value<'frame, 'static>> for Expr<'frame>[src]

impl<'frame> JuliaType for Expr<'frame>[src]

impl<'frame> JuliaTypecheck for Expr<'frame>[src]

impl<'frame> PartialEq<Expr<'frame>> for Expr<'frame>[src]

impl<'frame> StructuralEq for Expr<'frame>[src]

impl<'frame> StructuralPartialEq for Expr<'frame>[src]

impl<'frame> ValidLayout for Expr<'frame>[src]

Auto Trait Implementations

impl<'frame> RefUnwindSafe for Expr<'frame>[src]

impl<'frame> !Send for Expr<'frame>[src]

impl<'frame> !Sync for Expr<'frame>[src]

impl<'frame> Unpin for Expr<'frame>[src]

impl<'frame> UnwindSafe for Expr<'frame>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.