Trait dae_parser::ArrayKind

source ·
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§

source

type Elem: Clone + Display + Debug + 'static

The stored element type.

Required Methods§

source

fn from_array_element(elem: &ArrayElement) -> Option<&Self>

Extract a typed array from an ArrayElement.

Implementors§