pub trait ElementType {
    // Required method
    fn element_type(&self) -> &'static str;
}
Expand description

Implemented by any element, for access to its kind in error reporting.

Required Methods§

source

fn element_type(&self) -> &'static str

Implementations on Foreign Types§

source§

impl<T> ElementType for &T
where T: ElementType,

source§

fn element_type(&self) -> &'static str

source§

impl<T> ElementType for &mut T
where T: ElementType,

source§

fn element_type(&self) -> &'static str

source§

impl<T> ElementType for Box<T>
where T: ElementType,

source§

fn element_type(&self) -> &'static str

Implementors§