[][src]Trait glsp_engine::IntoElement

pub trait IntoElement<T>: Sealed<T> {
    pub fn into_element(self) -> GResult<T>;
}

A type which can be stored in a deque.

Types which implement IntoElement<Slot> can be stored in an Arr or a Deque. This has a blanket implementation for any type which implements IntoVal.

Types which implement IntoElement<char> can be stored in a Str. This is implemented for char, Val, and shared and mutable references to those types.

This trait is sealed. It's not possible to implement this trait for your own types. Implement IntoVal instead.

Required methods

pub fn into_element(self) -> GResult<T>[src]

Loading content...

Implementations on Foreign Types

impl IntoElement<char> for char[src]

impl IntoElement<char> for &char[src]

impl IntoElement<char> for &mut char[src]

Loading content...

Implementors

impl IntoElement<char> for &Val[src]

impl IntoElement<char> for &mut Val[src]

impl IntoElement<char> for Val[src]

Loading content...