pub trait SimpleEntity: Entity<Group<()> = (), Unit = Self> {
    // Provided methods
    fn from_group<T>(group: Self::Group<T>) -> T { ... }
    fn to_group<T>(group: T) -> Self::Group<T> { ... }
}

Provided Methods§

source

fn from_group<T>(group: Self::Group<T>) -> T

source

fn to_group<T>(group: T) -> Self::Group<T>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<E: Entity<Group<()> = (), Unit = E>> SimpleEntity for E