Struct ark_api::world::EntityInfo
source · [−]pub struct EntityInfo { /* private fields */ }
Expand description
Entity info component. Use to get information about the entity such as name assigned.
Implementations
sourceimpl EntityInfo
impl EntityInfo
Trait Implementations
sourceimpl ComponentTrait for EntityInfo
impl ComponentTrait for EntityInfo
sourcefn get_type() -> ComponentType
fn get_type() -> ComponentType
The type of the component, as a ComponentType
enum.
sourcefn from_entity(handle: Entity) -> Self
fn from_entity(handle: Entity) -> Self
Adopt an Entity
, wrap in a component struct.
Auto Trait Implementations
impl RefUnwindSafe for EntityInfo
impl Send for EntityInfo
impl Sync for EntityInfo
impl Unpin for EntityInfo
impl UnwindSafe for EntityInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more