pub struct EntityId<'a>(pub &'a str);Expand description
Stable source-level identifier required for component-mode declarations.
Tuple Fields§
§0: &'a strImplementations§
Trait Implementations§
impl<'a> Copy for EntityId<'a>
impl<'a> Eq for EntityId<'a>
impl<'a> StructuralPartialEq for EntityId<'a>
Auto Trait Implementations§
impl<'a> Freeze for EntityId<'a>
impl<'a> RefUnwindSafe for EntityId<'a>
impl<'a> Send for EntityId<'a>
impl<'a> Sync for EntityId<'a>
impl<'a> Unpin for EntityId<'a>
impl<'a> UnsafeUnpin for EntityId<'a>
impl<'a> UnwindSafe for EntityId<'a>
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