pub struct Gc<T> { /* private fields */ }
Expand description
An automatically managed, safe reference to GC memory.
Implementations§
Trait Implementations§
source§impl IntoValue for Gc<String>
impl IntoValue for Gc<String>
§type EngineUse = DoesNotUseEngine
type EngineUse = DoesNotUseEngine
Specifies whether this implementation of
IntoValue
uses an engine or not.source§impl<T> Ord for Gc<T>where
T: Ord,
impl<T> Ord for Gc<T>where
T: Ord,
source§impl<T> PartialEq<Gc<T>> for Gc<T>where
T: PartialEq,
impl<T> PartialEq<Gc<T>> for Gc<T>where
T: PartialEq,
source§impl<T> PartialOrd<Gc<T>> for Gc<T>where
T: PartialOrd,
impl<T> PartialOrd<Gc<T>> for Gc<T>where
T: PartialOrd,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFromValue for Gc<String>
impl TryFromValue for Gc<String>
source§fn try_from_value(value: &Value, _: &Environment) -> Result<Self, Error>
fn try_from_value(value: &Value, _: &Environment) -> Result<Self, Error>
Tries to perform the conversion, returning an
Error
on failure.