Trait legion::storage::IntoComponentSource[][src]

pub trait IntoComponentSource {
    type Source: ComponentSource;
    fn into(self) -> Self::Source;
}

Converts a type into a ComponentSource.

Associated Types

type Source: ComponentSource[src]

The output component source.

Loading content...

Required methods

fn into(self) -> Self::Source[src]

Converts this structure into a component source.

Loading content...

Implementors

impl<I> IntoComponentSource for I where
    I: IntoIterator,
    Aos<I::Item, I::IntoIter>: ComponentSource
[src]

type Source = Aos<I::Item, I::IntoIter>

Loading content...