[][src]Struct hlvm::function::Value

pub struct Value { /* fields omitted */ }

Trait Implementations

impl Display for Value[src]

impl Div<Value> for Value[src]

type Output = Value

The resulting type after applying the / operator.

impl Not for Value[src]

type Output = Value

The resulting type after applying the ! operator.

impl Add<Value> for Value[src]

type Output = Value

The resulting type after applying the + operator.

impl Sub<Value> for Value[src]

type Output = Value

The resulting type after applying the - operator.

impl Debug for Value[src]

impl PartialEq<Value> for Value[src]

impl Rem<Value> for Value[src]

type Output = Value

The resulting type after applying the % operator.

impl Object for Value[src]

fn empty_instance() -> Self[src]

fn from_string(string: String) -> Self[src]

fn from_str(string: &str) -> Self[src]

fn from_f64(decimal: f64) -> Self[src]

fn from_number(decimal: BigDecimal) -> Self[src]

fn from_instruction(instruction: Instruction) -> Self[src]

fn from_problem(problem: Problem) -> Self[src]

fn from_vector(vector: Vec<Self>) -> Self[src]

fn from_nothing() -> Self[src]

fn from_function(vector: Vec<Self>) -> Self[src]

fn from_foreign_function(function: fn(Self) -> Self) -> Self[src]

fn get_attr(&self, name: String) -> Self[src]

fn as_number(&self) -> BigDecimal[src]

fn as_usize(&self) -> usize[src]

fn as_string(&self) -> String[src]

fn as_list(&self) -> Vec<Self>[src]

fn as_instruction(&self) -> Instruction[src]

fn as_instance(&self) -> Table<Self>[src]

fn as_foreign_function(&self) -> fn(Self) -> Self[src]

fn set_attr(&mut self, name: String, object: Self)[src]

fn get_attr_recursive(&mut self, names: Vec<String>) -> Self[src]

fn set_attr_recursive(&mut self, names: Vec<String>, object: Self) -> Self[src]

fn index(&mut self, index: Self) -> Self[src]

fn list_push(&mut self, object: Self)[src]

fn list_pop(&mut self) -> Self[src]

fn call_foreign_function(&mut self, parameter: Self) -> Self[src]

fn format(&self) -> String[src]

fn print(&self)[src]

fn println(&self)[src]

impl Clone for Value[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Mul<Value> for Value[src]

type Output = Value

The resulting type after applying the * operator.

Auto Trait Implementations

impl Send for Value

impl Sync for Value

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

impl<T, Rhs, Output> NumOps for T where
    T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>, 
[src]