[][src]Struct zub::vm::value::value::WithHeap

pub struct WithHeap<'h, T> {
    pub heap: &'h Heap<Object>,
    pub item: T,
}

Fields

heap: &'h Heap<Object>item: T

Implementations

impl<'h, T> WithHeap<'h, T>[src]

pub fn new(heap: &'h Heap<Object>, item: T) -> WithHeap<'h, T>[src]

pub fn with<U>(&self, item: U) -> WithHeap<U>[src]

Trait Implementations

impl<'h> Display for WithHeap<'h, Value>[src]

impl<'h, 'a> Display for WithHeap<'h, &'a Object>[src]

Auto Trait Implementations

impl<'h, T> !RefUnwindSafe for WithHeap<'h, T>

impl<'h, T> !Send for WithHeap<'h, T>

impl<'h, T> !Sync for WithHeap<'h, T>

impl<'h, T> Unpin for WithHeap<'h, T> where
    T: Unpin

impl<'h, T> !UnwindSafe for WithHeap<'h, T>

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> Same<T> for T

type Output = T

Should always be Self

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

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.