[][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>

Notable traits for Root<GIter>

impl Iterator for Root<GIter> type Item = Result<Val, GError>;

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
    R: DequeRange<I> + Debug,
    I: DequeIndex

impl DequeOps for Deque[src]

type Element = Slot

type Item = Val

impl FromVal for Deque[src]

impl<'a> IntoVal for &'a Deque[src]

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

impl IntoVal for Deque[src]

impl PartialEq<Deque> for Deque[src]

impl Splay for Deque[src]

impl StructuralPartialEq for Deque[src]

Auto Trait Implementations

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: IntoVal

impl<T> IntoVal for T where
    T: StaticMarker, 

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.