[][src]Trait vessels::kind::AsKind

pub trait AsKind<M: AsKindMarker>: Sized {
    type Kind: Kind;
    fn into_kind(self) -> Self::Kind;
fn from_kind(kind: Self::Kind) -> Self; }

Associated Types

type Kind: Kind

Loading content...

Required methods

fn into_kind(self) -> Self::Kind

fn from_kind(kind: Self::Kind) -> Self

Loading content...

Implementors

impl<T: IDefault + Unpin + Sync + Send + 'static> AsKind<Default> for T[src]

type Kind = Default<T>

impl<T: Unpin + Sync + Send + IntoIterator + FromIterator<<T as IntoIterator>::Item> + 'static> AsKind<Iterator> for T where
    <T as IntoIterator>::Item: Kind,
    T::IntoIter: Unpin + Sync + Send
[src]

type Kind = Iterator<T>

impl<T: Serialize + DeserializeOwned + Sync + Send + Unpin + 'static> AsKind<Serde> for T[src]

type Kind = Serde<T>

Loading content...