pub struct EntityId(/* private fields */);
Implementations§
Source§impl EntityId
impl EntityId
pub const fn is_defined(self) -> bool
pub const fn is_static(self) -> bool
pub const fn is_dynamic(self) -> bool
pub const fn is_persistable(self) -> bool
pub const fn is_transient(self) -> bool
Trait Implementations§
Source§impl Display for EntityId
impl Display for EntityId
A simple entity ID representation.
Flags are displayed as:
P
ersistableD
ynamicT
ransientS
tatic
Source§impl Ord for EntityId
impl Ord for EntityId
Source§impl PartialOrd for EntityId
impl PartialOrd for EntityId
impl Copy for EntityId
impl Eq for EntityId
Auto Trait Implementations§
impl Freeze for EntityId
impl RefUnwindSafe for EntityId
impl Send for EntityId
impl Sync for EntityId
impl Unpin for EntityId
impl UnwindSafe for EntityId
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