[−][src]Struct hlvm::function::Value
Trait Implementations
impl Display for Value
[src]
impl Not for Value
[src]
type Output = Value
The resulting type after applying the !
operator.
fn not(self) -> <Value as Not>::Output
[src]
impl Div<Value> for Value
[src]
type Output = Value
The resulting type after applying the /
operator.
fn div(self, rhs: Value) -> <Value as Div<Value>>::Output
[src]
impl Object for Value
[src]
fn new(value_type: Type, contents: Vec<BigDecimal>) -> Value
[src]
fn get_type(&self) -> Type
[src]
fn get_list(&self) -> Vec<Value>
[src]
fn get_contents(&self) -> Vec<BigDecimal>
[src]
fn get_attributes(&self) -> Table<Value>
[src]
fn get_foreign_function(&self) -> fn(Value) -> Value
[src]
fn set_type(&mut self, value_type: Type)
[src]
fn set_list(&mut self, list: Vec<Value>)
[src]
fn set_contents(&mut self, contents: Vec<BigDecimal>)
[src]
fn set_attributes(&mut self, attributes: Table<Value>)
[src]
fn set_foreign_function(&mut self, function: fn(Value) -> 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 Add<Value> for Value
[src]
type Output = Value
The resulting type after applying the +
operator.
fn add(self, rhs: Value) -> <Value as Add<Value>>::Output
[src]
impl Sub<Value> for Value
[src]
type Output = Value
The resulting type after applying the -
operator.
fn sub(self, rhs: Value) -> <Value as Sub<Value>>::Output
[src]
impl PartialEq<Value> for Value
[src]
impl Rem<Value> for Value
[src]
type Output = Value
The resulting type after applying the %
operator.
fn rem(self, rhs: Value) -> <Value as Rem<Value>>::Output
[src]
impl Debug for Value
[src]
impl Clone for Value
[src]
fn clone(&self) -> 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]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,