[−][src]Enum basic::mach::Val
Variants
String(String)
Single(f32)
Double(f64)
Integer(i16)
Char(char)
Return(Address)
Methods
impl Val
[src]
pub fn unimplemented(_lhs: Val, _rhs: Val) -> Result<Val, Error>
[src]
pub fn negate(val: Val) -> Result<Val, Error>
[src]
pub fn multiply(lhs: Val, rhs: Val) -> Result<Val, Error>
[src]
pub fn divide(lhs: Val, rhs: Val) -> Result<Val, Error>
[src]
pub fn sum(lhs: Val, rhs: Val) -> Result<Val, Error>
[src]
pub fn subtract(lhs: Val, rhs: Val) -> Result<Val, Error>
[src]
pub fn greater(lhs: Val, rhs: Val) -> Result<Val, Error>
[src]
pub fn less(lhs: Val, rhs: Val) -> Result<Val, Error>
[src]
Trait Implementations
impl Clone for Val
[src]
impl Debug for Val
[src]
impl Display for Val
[src]
impl<'_> From<&'_ str> for Val
[src]
impl PartialEq<Val> for Val
[src]
impl StructuralPartialEq for Val
[src]
impl TryFrom<Option<u16>> for Val
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(line_number: LineNumber) -> Result<Self, Self::Error>
[src]
impl TryFrom<Val> for LineNumber
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(val: Val) -> Result<Self, Self::Error>
[src]
impl TryFrom<Val> for u16
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(val: Val) -> Result<Self, Self::Error>
[src]
impl TryFrom<Val> for i16
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(val: Val) -> Result<Self, Self::Error>
[src]
impl TryFrom<Val> for f32
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(val: Val) -> Result<Self, Self::Error>
[src]
impl TryFrom<Val> for f64
[src]
Auto Trait Implementations
impl RefUnwindSafe for Val
impl Send for Val
impl Sync for Val
impl Unpin for Val
impl UnwindSafe for Val
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,