[][src]Struct glsp::Root

pub struct Root<T> where
    T: Allocate, 
{ /* fields omitted */ }

A pointer onto the garbage-collected heap.

Implementations

impl<T> Root<T> where
    T: Allocate, 
[src]

pub fn ptr_eq(root0: &Root<T>, root1: &Root<T>) -> bool[src]

impl<T> Root<T> where
    T: Allocate, 
[src]

pub fn downgrade(&self) -> Gc<T>[src]

Constructs a new weak pointer to this heap-allocated object.

Trait Implementations

impl<T> AsRef<T> for Root<T> where
    T: Allocate, 
[src]

impl<T> Borrow<T> for Root<T> where
    T: Allocate, 
[src]

impl CallableOps for Root<GFn>[src]

impl CallableOps for Root<Class>[src]

impl CallableOps for Root<RFn>[src]

impl<T> Clone for Root<T> where
    T: Allocate, 
[src]

impl<T> Debug for Root<T> where
    T: Allocate + Debug
[src]

impl<T> Deref for Root<T> where
    T: Allocate, 
[src]

type Target = T

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for Root<Arr>[src]

impl<'de> Deserialize<'de> for Root<Tab>[src]

impl<'de> Deserialize<'de> for Root<Str>[src]

impl<T> Display for Root<T> where
    T: Allocate + Display
[src]

impl DoubleEndedIterator for Root<GIter>[src]

impl<T> Drop for Root<T> where
    T: Allocate, 
[src]

impl<T> Eq for Root<T> where
    T: Allocate + Eq
[src]

impl FromVal for Root<RData>[src]

impl FromVal for Root<Class>[src]

impl FromVal for Root<Tab>[src]

impl FromVal for Root<Arr>[src]

impl FromVal for Root<GFn>[src]

impl FromVal for Root<GIter>[src]

impl FromVal for Root<Coro>[src]

impl FromVal for Root<RFn>[src]

impl FromVal for Root<Obj>[src]

impl FromVal for Root<Str>[src]

impl<'a> IntoIterator for &'a Root<Str>[src]

type Item = char

The type of the elements being iterated over.

type IntoIter = IterDeque<'a, Str>

Which kind of iterator are we turning this into?

impl<'a> IntoIterator for &'a mut Root<Str>[src]

type Item = char

The type of the elements being iterated over.

type IntoIter = IterDeque<'a, Str>

Which kind of iterator are we turning this into?

impl<'a> IntoIterator for &'a mut Root<Arr>[src]

type Item = Val

The type of the elements being iterated over.

type IntoIter = IterDeque<'a, Arr>

Which kind of iterator are we turning this into?

impl<'a> IntoIterator for &'a Root<Arr>[src]

type Item = Val

The type of the elements being iterated over.

type IntoIter = IterDeque<'a, Arr>

Which kind of iterator are we turning this into?

impl<'a> IntoVal for &'a Root<Str>[src]

impl<'a> IntoVal for &'a Root<Arr>[src]

impl<'a> IntoVal for &'a Root<GFn>[src]

impl<'a> IntoVal for &'a mut Root<Str>[src]

impl<'a> IntoVal for &'a mut Root<RData>[src]

impl IntoVal for Root<Obj>[src]

impl<'a> IntoVal for &'a mut Root<GIter>[src]

impl<'a> IntoVal for &'a Root<Class>[src]

impl<'a> IntoVal for &'a Root<GIter>[src]

impl IntoVal for Root<Arr>[src]

impl IntoVal for Root<RData>[src]

impl<'a> IntoVal for &'a mut Root<Obj>[src]

impl<'a> IntoVal for &'a Root<Obj>[src]

impl<'a> IntoVal for &'a mut Root<Tab>[src]

impl IntoVal for Root<GIter>[src]

impl<'a> IntoVal for &'a Root<Coro>[src]

impl<'a> IntoVal for &'a Root<RData>[src]

impl<'a> IntoVal for &'a mut Root<GFn>[src]

impl IntoVal for Root<Coro>[src]

impl<'a> IntoVal for &'a mut Root<Arr>[src]

impl<'a> IntoVal for &'a mut Root<Coro>[src]

impl<'a> IntoVal for &'a mut Root<Class>[src]

impl IntoVal for Root<RFn>[src]

impl IntoVal for Root<Str>[src]

impl<'a> IntoVal for &'a Root<Tab>[src]

impl IntoVal for Root<Tab>[src]

impl IntoVal for Root<GFn>[src]

impl<'a> IntoVal for &'a Root<RFn>[src]

impl IntoVal for Root<Class>[src]

impl<'a> IntoVal for &'a mut Root<RFn>[src]

impl IterableOps for Root<Tab>[src]

impl IterableOps for Root<GIter>[src]

impl IterableOps for Root<Str>[src]

impl IterableOps for Root<Arr>[src]

impl IterableOps for Root<Coro>[src]

impl Iterator for Root<GIter>[src]

type Item = Result<Val, GError>

The type of the elements being iterated over.

impl<T> Ord for Root<T> where
    T: Allocate + Ord
[src]

impl PartialEq<Root<Obj>> for Obj[src]

impl PartialEq<Root<RData>> for RData[src]

impl<T> PartialEq<Root<T>> for Root<T> where
    T: Allocate + PartialEq<T>, 
[src]

impl<T> PartialOrd<Root<T>> for Root<T> where
    T: Allocate + PartialOrd<T>, 
[src]

impl<T> Pointer for Root<T> where
    T: Allocate, 
[src]

impl<T> Serialize for Root<T> where
    T: Allocate + Serialize
[src]

impl Write for Root<Str>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Root<T>[src]

impl<T> !Send for Root<T>[src]

impl<T> !Sync for Root<T>[src]

impl<T> Unpin for Root<T>[src]

impl<T> UnwindSafe for Root<T> where
    T: RefUnwindSafe
[src]

Blanket Implementations

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

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

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

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

impl<T> Erased for T

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

impl<T> FromElement<Slot> for T where
    T: FromVal
[src]

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

impl<T> IntoElement<Slot> for T where
    T: IntoVal
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> IntoVal for T where
    T: StaticMarker, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<'a, T> ToSym for T where
    T: Deref,
    <T as Deref>::Target: ToSym
[src]

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.