Trait CedarEnumEntity

Source
pub trait CedarEnumEntity: CedarEntity<Id = Self, Attrs = NoAttributes> {
    // Required method
    fn into_entity(self) -> Entity<Self>
       where Self: Sized;
}
Expand description

A special trait for enum style entities.

Required Methods§

Source

fn into_entity(self) -> Entity<Self>
where Self: Sized,

Convert an enum variant into an entity.

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.

Implementors§