Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement DataTypeKind for usize and isize #693

Merged
merged 1 commit into from Jan 5, 2023

Conversation

Ararem
Copy link
Contributor

@Ararem Ararem commented Jan 4, 2023

This allows direct use of the size types in imgui-rs functions, like Sliders. Previously, they had to be cast, passed in, then cast back. This change allows for direct use (no casts necessary)

This allows direct use of the size types in `imgui-rs` functions, like `Slider`s. Previously, they had to be cast, passed in, then cast back. This change allows for direct use (no casts necessary)
@Ararem
Copy link
Contributor Author

Ararem commented Jan 4, 2023

Fixes #689

@dbr dbr linked an issue Jan 5, 2023 that may be closed by this pull request
@dbr
Copy link
Contributor

dbr commented Jan 5, 2023

LGTM, thanks!

@dbr dbr merged commit c7f8948 into imgui-rs:main Jan 5, 2023
@Ararem Ararem deleted the DataTypeKind-for-size-types branch January 10, 2023 18:07
@Ararem
Copy link
Contributor Author

Ararem commented Jan 10, 2023

@dbr Thanks for merging, do you know when this will be available on crates.io?

@dbr
Copy link
Contributor

dbr commented Jan 19, 2023

Oh sorry for the lack of update - this is now released in v0.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add impl DataTypeKind for size types (usize/isize)
2 participants