Struct veloren_common::rtsim::RtSimEntity
source · pub struct RtSimEntity(pub NpcId);
Tuple Fields§
§0: NpcId
Trait Implementations§
source§impl Clone for RtSimEntity
impl Clone for RtSimEntity
source§fn clone(&self) -> RtSimEntity
fn clone(&self) -> RtSimEntity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Component for RtSimEntity
impl Component for RtSimEntity
§type Storage = VecStorage<RtSimEntity>
type Storage = VecStorage<RtSimEntity>
Associated storage type for this component.
source§impl Debug for RtSimEntity
impl Debug for RtSimEntity
source§impl Hash for RtSimEntity
impl Hash for RtSimEntity
source§impl PartialEq for RtSimEntity
impl PartialEq for RtSimEntity
source§fn eq(&self, other: &RtSimEntity) -> bool
fn eq(&self, other: &RtSimEntity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RtSimEntity
impl Eq for RtSimEntity
impl StructuralEq for RtSimEntity
impl StructuralPartialEq for RtSimEntity
Auto Trait Implementations§
impl RefUnwindSafe for RtSimEntity
impl Send for RtSimEntity
impl Sync for RtSimEntity
impl Unpin for RtSimEntity
impl UnwindSafe for RtSimEntity
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
§impl<T> CallHasher for T
impl<T> CallHasher for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.