[][src]Enum haybale::SolutionValue

pub enum SolutionValue {
    I8(i8),
    I16(i16),
    I32(i32),
    I64(i64),
    Ptr(u64),
}

A simple enum describing either an integer value or a pointer

Variants

I8(i8)
I16(i16)
I32(i32)
I64(i64)
Ptr(u64)

Implementations

impl SolutionValue[src]

pub fn unwrap_to_i8(self) -> i8[src]

pub fn unwrap_to_i16(self) -> i16[src]

pub fn unwrap_to_i32(self) -> i32[src]

pub fn unwrap_to_i64(self) -> i64[src]

pub fn unwrap_to_ptr(self) -> u64[src]

Trait Implementations

impl Clone for SolutionValue[src]

impl Copy for SolutionValue[src]

impl Debug for SolutionValue[src]

impl Eq for SolutionValue[src]

impl PartialEq<SolutionValue> for SolutionValue[src]

impl StructuralEq for SolutionValue[src]

impl StructuralPartialEq for SolutionValue[src]

Auto Trait Implementations

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.