Benjamin Saunders
Benjamin Saunders
Looks like; thanks!
I'd love to be able to write entire articles (not just fragments) in typst! To lighten the dependency load, and allow for more flexible deployment, it might make sense to...
All three of those sound like nice improvements to me!
I'd like to additionally see some concrete motivation. The bar can be pretty low for simple features that don't take much code/documentation, but if we're adding new paths and taking...
It's such a general type, I'm not sure that's always going to be desirable, for the same reason that e.g. `u32` isn't marked that way.
Straw proposal: ```rust pub struct Format { pub channels: ChannelCount, pub sample_rate: SampleRate, pub data_type: SampleFormat, pub interleaved: bool, } impl Data { pub fn as_slice(&self) -> Option { ......
I don't think that materially impacts the amount of checking the user has to do in the deinterleaved case. It's low-friction to access channel indices up to the number you...
> `CharacterId` A more apt name for this might be `PlayerId`, since what we're really using this for is identifying the player who gets to control the entity.
Doesn't seem obviously unreasonable. Give it a try and see what rustc thinks?
Yep, that's what a new iterator is.