[][src]Struct gluon_vm::internal::Value

#[repr(transparent)]pub struct Value(_);

Methods

impl Value[src]

pub fn int(i: VmInt) -> Value[src]

pub fn array(array: GcPtr<ValueArray>) -> Value[src]

pub fn tag(tag: VmTag) -> Value[src]

pub fn get_variants(&self) -> Variants[src]

pub fn generation(&self) -> Generation[src]

pub fn obj_eq(&self, other: &Self) -> bool[src]

Trait Implementations

impl CloneUnrooted for Value[src]

type Value = Self

impl CopyUnrooted for Value[src]

impl Debug for Value[src]

impl<'de, 'gc> DeserializeState<'de, DeSeed<'gc>> for Value[src]

impl From<GcPtr<Box<dyn Userdata + 'static>>> for Value[src]

impl From<GcPtr<ClosureData>> for Value[src]

impl From<GcPtr<DataStruct>> for Value[src]

impl From<GcPtr<ExternFunction>> for Value[src]

impl From<GcPtr<PartialApplicationData>> for Value[src]

impl From<GcPtr<Thread>> for Value[src]

impl From<GcPtr<ValueArray>> for Value[src]

impl From<GcPtr<ValueStr>> for Value[src]

impl From<f64> for Value[src]

impl From<i64> for Value[src]

impl From<u8> for Value[src]

impl<'a> PartialEq<Value> for ValueRef<'a>[src]

impl PartialEq<Value> for Value[src]

impl SerializeState<SeSeed> for Value[src]

impl StackPrimitive for Value[src]

impl StructuralPartialEq for Value[src]

impl Trace for Value[src]

Auto Trait Implementations

impl !RefUnwindSafe for Value

impl Send for Value

impl Sync for Value

impl Unpin for Value

impl !UnwindSafe for Value

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<'_, T> Captures<'_> for T[src]

impl<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

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

impl<T> DowncastArc for T where
    T: Downcast + Send + Sync
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

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

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

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

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

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.