Struct specs::prelude::Entity [−][src]
pub struct Entity(_, _);
Expand description
Entity
type, as seen by the user.
Implementations
Trait Implementations
type Data = M
type Data = M
(De)Serializable data representation for data type
type Error = Infallible
type Error = Infallible
Error may occur during serialization or deserialization of component
Convert this data type into serializable form (Data
) using
entity to marker mapping function Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Entity
impl UnwindSafe for Entity
Blanket Implementations
impl<T> Any for T where
T: Any,
impl<T> Any for T where
T: Any,
pub fn get_type_id(&self) -> TypeId
Mutably borrows from an owned value. Read more