[][src]Struct gluon_vm::thread::RootedValue

pub struct RootedValue<T> where
    T: Deref<Target = Thread>, 
{ /* fields omitted */ }

A rooted value

Methods

impl<T> RootedValue<T> where
    T: Deref<Target = Thread>, 
[src]

looks up the field at the given offset

looks up the record field with the given name

impl<'vm> RootedValue<&'vm Thread>
[src]

Trait Implementations

impl<'vm, T> Pushable<'vm> for RootedValue<T> where
    T: Deref<Target = Thread>, 
[src]

Pushes self to stack. If the call is successful a single element should have been added to the stack and Ok(()) should be returned. If the call is unsuccessful Status:Error should be returned and the stack should be left intact Read more

impl<'vm, 'value, T> Getable<'vm, 'value> for RootedValue<T> where
    T: Deref<Target = Thread> + VmRoot<'vm>, 
[src]

impl<T> Clone for RootedValue<T> where
    T: Deref<Target = Thread> + Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Drop for RootedValue<T> where
    T: Deref<Target = Thread>, 
[src]

Executes the destructor for this type. Read more

impl<T, U> PartialEq<RootedValue<U>> for RootedValue<T> where
    T: Deref<Target = Thread>,
    U: Deref<Target = Thread>, 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T> Debug for RootedValue<T> where
    T: Deref<Target = Thread>, 
[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for RootedValue<RootedThread>
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl<T> Send for RootedValue<T> where
    T: Send

impl<T> Sync for RootedValue<T> where
    T: Sync

Blanket Implementations

impl<'vm, T> AsyncPushable for T where
    T: Pushable<'vm>, 
[src]

Pushes self to stack. If the call is successful a single element should have been added to the stack and Ok(()) should be returned. If the call is unsuccessful Status:Error should be returned and the stack should be left intact. Read more

impl<'vm, T> Pushable for T where
    T: Userdata
[src]

Pushes self to stack. If the call is successful a single element should have been added to the stack and Ok(()) should be returned. If the call is unsuccessful Status:Error should be returned and the stack should be left intact Read more

impl<D, T> FromPtr for T
[src]

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Choices> CoproductSubsetter for Choices
[src]

Extract a subset of the possible types in a coproduct (or get the remaining possibilities) Read more

impl<Source> Sculptor for Source
[src]

Consumes the current HList and returns an HList with the requested shape. Read more

impl<T, U, I> LiftInto for T where
    U: LiftFrom<T, I>, 
[src]

Performs the indexed conversion.

impl<T> Any for T where
    T: Any
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> CloneAny for T where
    T: Clone + Any
[src]