pub struct ReactiveEntityInstance {
pub ty: EntityTypeId,
pub id: Uuid,
pub name: String,
pub description: String,
pub properties: ReactiveProperties<Uuid>,
pub components: ComponentTypeIds,
pub behaviours: BehaviourTypeIds,
}Fields§
§ty: EntityTypeIdThe type definition of the entity type.
id: UuidThe unique identifier of the entity instance.
name: StringThe name of the entity instance.
description: StringTextual description of the entity instance.
properties: ReactiveProperties<Uuid>The reactive properties.
components: ComponentTypeIdsThe names of the components which are applied on this entity instance.
behaviours: BehaviourTypeIdsThe names of the behaviours which are applied on this entity instance.
Trait Implementations§
Source§impl From<ReactiveEntityInstance> for ReactiveEntity
impl From<ReactiveEntityInstance> for ReactiveEntity
Source§fn from(reactive_entity: ReactiveEntityInstance) -> Self
fn from(reactive_entity: ReactiveEntityInstance) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReactiveEntityInstance
impl !RefUnwindSafe for ReactiveEntityInstance
impl Send for ReactiveEntityInstance
impl Sync for ReactiveEntityInstance
impl Unpin for ReactiveEntityInstance
impl UnwindSafe for ReactiveEntityInstance
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more