pub trait ArrayKind:
HasId
+ XNode
+ Deref<Target = [Self::Elem]>
+ 'static {
type Elem: Clone + Display + Debug + 'static;
// Required method
fn from_array_element(elem: &ArrayElement) -> Option<&Self>;
}Expand description
A trait for the common functionality of the array types.
Required Associated Types§
Required Methods§
Sourcefn from_array_element(elem: &ArrayElement) -> Option<&Self>
fn from_array_element(elem: &ArrayElement) -> Option<&Self>
Extract a typed array from an ArrayElement.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.