Trait entity::PrimitiveLike [−][src]
Represents some data that can be converted to and from a Primitive
Required methods
fn into_primitive(self) -> Primitive
[src]
Consumes this data, converting it into an abstract Primitive
fn try_from_primitive(primitive: Primitive) -> Result<Self, Primitive>
[src]
Attempts to convert an abstract Primitive
into this data, returning
the owned value back if unable to convert