[−][src]Struct gluon_vm::internal::Value
Implementations
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
unsafe fn clone_unrooted(&self) -> Self
[src]
impl CopyUnrooted for Value
[src]
unsafe fn copy_unrooted(&self) -> Self
[src]
impl Debug for Value
[src]
impl<'de, 'gc> DeserializeState<'de, DeSeed<'gc>> for Value
[src]
fn deserialize_state<__D>(
__seed: &mut DeSeed<'gc>,
__deserializer: __D
) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__seed: &mut DeSeed<'gc>,
__deserializer: __D
) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
impl From<GcPtr<Box<dyn Userdata + 'static>>> for Value
[src]
impl From<GcPtr<ClosureData>> for Value
[src]
fn from(v: GcPtr<ClosureData>) -> 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]
fn serialize_state<__S>(
&self,
__serializer: __S,
__seed: &SeSeed
) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S,
__seed: &SeSeed
) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
impl StackPrimitive for Value
[src]
fn push_to(&self, stack: &mut Stack)
[src]
fn extend_to<'b, I>(iter: I, stack: &mut Stack) where
I: IntoIterator<Item = &'b Self>,
[src]
I: IntoIterator<Item = &'b Self>,
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]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<Id> AsId<Id> for Id where
Id: ?Sized,
[src]
Id: ?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> Captures<'_> for T
[src]
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
[src]
type Remainder = Choices
pub fn subset(
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
[src]
self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
pub fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastArc for T where
T: Downcast + Send + Sync,
[src]
T: Downcast + Send + Sync,
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
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]
U: From<T>,
impl<T, U, I> LiftInto<U, I> for T where
U: LiftFrom<T, I>,
[src]
U: LiftFrom<T, I>,
impl<Source> Sculptor<HNil, HNil> for Source
[src]
type Remainder = Source
pub fn sculpt(self) -> (HNil, <Source as Sculptor<HNil, HNil>>::Remainder)
[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>,