Function bevy_utils::uuid::generate_composite_uuid
source · pub const fn generate_composite_uuid(a: Uuid, b: Uuid) -> Uuid
Expand description
Generates a new UUID from the given UUIDs a
and b
,
where the bytes are generated by a bitwise a ^ b.rotate_right(1)
.
The generated UUID will be a UUIDv4
(meaning that the bytes should be random, not e.g. derived from the system time).