Results 102 comments of crumblingstatue

I created https://github.com/jeremyletang/rust-sfml/commit/7cc48d5781cacf85f31aa65a0b79eced5da3941f to address this.

I'd like to avoid duplicating a lot of code just to have a version of sprite that can work with `Rc`. I just haven't figured out the best way to...

https://github.com/rust-lang/rust/issues/73014 was closed in favor of being able to use-import `Default::default` directly. I'd like to provide an additional use-case for motivation: Many libraries define free functions for constructors to mathy...

I'd like to reiterate here what I said on #1995 Many libraries define free functions for constructors to mathy types, like vectors. Some examples: https://docs.rs/glam/0.24.2/src/glam/f32/vec2.rs.html#12 https://docs.rs/egui/latest/egui/fn.pos2.html It would be nice...

That being said, I noticed that this RFC doesn't talk about importing inherent methods, which I think should be addressed. If this RFC only proposes importing trait methods, but not...

> 1. why is position a generic type but the other ones aren't? It's the most common argument, so I wanted the ability to write it concisely with just a...

It's very surprising to me that it's not better documented that Texture2d never unloads from memory. This managed to crash my system because it ran out of memory.

It might also be worth checking out [parley](https://github.com/linebender/parley). The authors of [xilem](https://github.com/linebender/xilem) considered using cosmic-text, but they decided that they want to do things differently, so they are going to...

For reference, Bevy is working to decide between parley and cosmic-text right now. Here is a document they are working on to compare the two: https://hackmd.io/-0nNajS9QaGNu9FWg41ziA

The following seems to work, but feels rather hacky: ```Rust egui::TextureId::User( mq_texture.raw_miniquad_texture_handle().gl_internal_id() as _, ) ```