[−][src]Enum gluon_vm::api::ValueRef
Variants
Byte(u8)
Int(VmInt)
Float(f64)
String(&'a str)
Data(Data<'a>)
Array(GcRef<'a, ValueArray>)
Userdata(&'a dyn Userdata)
Thread(&'a Thread)
Closure(Closure<'a>)
Implementations
impl<'a> ValueRef<'a>
[src]
Trait Implementations
impl<'a> Clone for ValueRef<'a>
[src]
impl<'a> Debug for ValueRef<'a>
[src]
impl<'vm, 'value> Getable<'vm, 'value> for ValueRef<'value>
[src]
type Proxy = Variants<'value>
fn to_proxy(_vm: &'vm Thread, value: Variants<'value>) -> Result<Self::Proxy>
[src]
fn from_proxy(vm: &'vm Thread, proxy: &'value mut Self::Proxy) -> Self
[src]
fn from_value(_vm: &'vm Thread, value: Variants<'value>) -> Self
[src]
impl<'a> PartialEq<Value> for ValueRef<'a>
[src]
impl<'a, 'b> PartialEq<ValueRef<'b>> for ValueRef<'a>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ValueRef<'a>
impl<'a> Send for ValueRef<'a>
impl<'a> Sync for ValueRef<'a>
impl<'a> Unpin for ValueRef<'a>
impl<'a> !UnwindSafe for ValueRef<'a>
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<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
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> 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>,