pub struct EntityName(pub String);Expand description
Human-readable entity name. Unique within a world but may be renamed.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for EntityName
impl Clone for EntityName
Source§impl Debug for EntityName
impl Debug for EntityName
Source§impl<'de> Deserialize<'de> for EntityName
impl<'de> Deserialize<'de> for EntityName
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for EntityName
impl Display for EntityName
impl Eq for EntityName
Source§impl Hash for EntityName
impl Hash for EntityName
Source§impl PartialEq for EntityName
impl PartialEq for EntityName
Source§impl Serialize for EntityName
impl Serialize for EntityName
impl StructuralPartialEq for EntityName
Auto Trait Implementations§
impl Freeze for EntityName
impl RefUnwindSafe for EntityName
impl Send for EntityName
impl Sync for EntityName
impl Unpin for EntityName
impl UnsafeUnpin for EntityName
impl UnwindSafe for EntityName
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