[−][src]Enum haybale::SolutionValue
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]
fn clone(&self) -> SolutionValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SolutionValue
[src]
impl Debug for SolutionValue
[src]
impl Eq for SolutionValue
[src]
impl PartialEq<SolutionValue> for SolutionValue
[src]
fn eq(&self, other: &SolutionValue) -> bool
[src]
fn ne(&self, other: &SolutionValue) -> bool
[src]
impl StructuralEq for SolutionValue
[src]
impl StructuralPartialEq for SolutionValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for SolutionValue
impl Send for SolutionValue
impl Sync for SolutionValue
impl Unpin for SolutionValue
impl UnwindSafe for SolutionValue
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,