Benjamin Saunders

Results 1098 comments of Benjamin Saunders

It's become a method of the `TaggedStructure` trait. You'll need to import that trait to use it.

`TaggedStructure` and `Extends*` exist to support functionality within ash, that being `match_{in,out}_struct` macros and `push_next` setters respectively. No ash functionality benefits from these traits, so they're not well precedented. What's...

See some previous discussion at https://github.com/quinn-rs/quinn/issues/1978 also. One other limitation in the current implementation is incorrect behavior when the client involuntarily migrates (e.g. a phone moving between wifi and cellular),...

Vulkan 1.4 support is planned using the existing generator. Work is proceeding (see merged PRs), but maintenance is on a volunteer basis and we have very limited time to work...

I would much rather see these errors propagated upwards where they occur. We don't need to replicate 1980s style error handling.

Could we classify structs into "always root" or "always extension" and omit lifetimes from the latter? Not sure Khronos would respect that...

Both of these proposed solutions seem to have the effect of hiding the provenance issue rather than trying to address it. The latter is probably outright UB because you're claiming...

> Rust can't have any provenance here: the memory is allocated by the Vulkan loader. I haven't reviewed tree borrows in too much depth recently, but I'm not sure "allocation...

> Thanks. transmute does work. Great! This should be fine to rely on, since we guarantee the representation of these types anyway. > We can either change from_raw to a...

Ah, right, we used `u64` here because it allows for a uniform interface with non-dispatchable handles. Probably best to keep that. Would a separate, inherent method work for your purposes,...