mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 07:10:04 -04:00
Add AsId and IdSalt (#8184)
## Related * https://github.com/emilk/egui/pull/5851 * https://github.com/emilk/egui/pull/7988 ## What We want to make it easier to understand the lineage of a `Id` (which is the parent `Id`, and the parent of that, etc?) As a first step of that, we want to clarify the different between a globally unique `Id`, and an `IdSalt` I also introduced the `AsId` and `AsIdSalt` traits, which are implemented of anything that implements `Hash` and `Debug`. The `Debug` half of that is unused here, but will later be used in `Debug` builds to produce a proper tree.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d14571fdd7602ea4924d04725008433e1bb53596d8a279f310ddc6c3231b6d32
|
||||
size 114106
|
||||
oid sha256:c9b497aa9b2b92843937c84a6ff8901f248501d5d4a89c2fb1237008a44fcad1
|
||||
size 114038
|
||||
|
||||
Reference in New Issue
Block a user