pub struct GUID {
pub prefix: GuidPrefix,
pub entity_id: EntityId,
}Expand description
GUID (16 bytes) = GuidPrefix (12) + EntityId (4)
Fields§
§prefix: GuidPrefixGUID prefix
entity_id: EntityIdEntity ID
Implementations§
Trait Implementations§
impl Copy for GUID
impl Eq for GUID
impl StructuralPartialEq for GUID
Auto Trait Implementations§
impl Freeze for GUID
impl RefUnwindSafe for GUID
impl Send for GUID
impl Sync for GUID
impl Unpin for GUID
impl UnsafeUnpin for GUID
impl UnwindSafe for GUID
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