[−][src]Trait glsp::IntoElement
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) -> Result<T, GError>
[src]
Implementations on Foreign Types
impl IntoElement<char> for char
[src]
pub fn into_element(self) -> Result<char, GError>
[src]
impl<'_> IntoElement<char> for &'_ char
[src]
pub fn into_element(self) -> Result<char, GError>
[src]
impl<'_> IntoElement<char> for &'_ mut char
[src]
pub fn into_element(self) -> Result<char, GError>
[src]
Implementors
impl IntoElement<char> for Val
[src]
pub fn into_element(self) -> Result<char, GError>
[src]
impl<'_> IntoElement<char> for &'_ Val
[src]
pub fn into_element(self) -> Result<char, GError>
[src]
impl<'_> IntoElement<char> for &'_ mut Val
[src]
pub fn into_element(self) -> Result<char, GError>
[src]
impl<T> IntoElement<Slot> for T where
T: IntoVal,
[src]
T: IntoVal,