[][src]Enum glsp::Deque

pub enum Deque {

A type-erased deque.

Because this type implements the DequeOps trait, you can manipulate it directly, without needing to access the underlying Root<Arr> or Root<Str>.




impl Deque[src]

pub fn same(&self, other: &Deque) -> bool[src]

Returns true if both deques share the same identity.

Equivalent to (same? deq other).

pub fn shallow_clone(&self) -> Deque[src]

Creates a shallow copy of the deque.

Equivalent to (clone deq).

pub fn deep_clone(&self) -> Result<Deque, GError>[src]

Recursively copies the deque and all of its contents.

Equivalent to (deep-clone deq).

pub fn access_giter(&self, giter: &Root<GIter>) -> Root<GIter>[src]

Creates an indexing iterator for this collection.

Equivalent to [deq iter].

Trait Implementations

impl Clone for Deque[src]

impl Debug for Deque[src]

impl<I> DequeAccess<I> for Deque where
    I: DequeIndex

impl<I, R> DequeAccessRange<I, R> for Deque where
    I: DequeIndex,
    R: DequeRange<I> + Debug

impl DequeOps for Deque[src]

type Element = Slot

type Item = Val

impl FromVal for Deque[src]

impl PartialEq<Deque> for Deque[src]

impl Splay for Deque[src]

impl StructuralPartialEq for Deque[src]

impl ToVal for Deque[src]

Auto Trait Implementations

impl !GSend for Deque

impl !GStore for Deque

impl !RefUnwindSafe for Deque

impl !Send for Deque

impl !Sync for Deque

impl Unpin for Deque

impl !UnwindSafe for Deque

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Erased for T

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

impl<T> FromElement<Slot> for T where
    T: FromVal

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> IntoElement<Slot> for T where
    T: ToVal

impl<T> IntoResult for T where
    T: ToVal

impl<'a, T> MakeArg<'a> for T where
    T: FromVal + MakeTemp<Temp = Slot>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.