pub enum EntityKind<'gc, 'a, C: CustomTypes<S>, S: System<C>> {
Stage {
props: Properties,
},
Sprite {
props: Properties,
},
Clone {
parent: &'a Entity<'gc, C, S>,
},
}
Expand description
The kind of Entity
being represented.
Variants§
Auto Trait Implementations§
impl<'gc, 'a, C, S> Freeze for EntityKind<'gc, 'a, C, S>
impl<'gc, 'a, C, S> !RefUnwindSafe for EntityKind<'gc, 'a, C, S>
impl<'gc, 'a, C, S> !Send for EntityKind<'gc, 'a, C, S>
impl<'gc, 'a, C, S> !Sync for EntityKind<'gc, 'a, C, S>
impl<'gc, 'a, C, S> Unpin for EntityKind<'gc, 'a, C, S>
impl<'gc, 'a, C, S> !UnwindSafe for EntityKind<'gc, 'a, C, S>
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