Amanda Graven
Amanda Graven
The main use case is accessing a field of a struct inside an `Option`, so something like `session_opt.map(|session| session.user)`
Maybe something filter-like along the lines of `value|option_field(field_name)`? But single-expression closures does seems like a reasonable compromise that could be incredibly useful.
I would be interested in helping implement this
Sweet, sounds pretty approachable. I'll take a stab at it.
I am definitely interested in doing so. I will definitely attempt if given the right pointers.
Oh definitely. In terms of configuring it, I think obeying the related flags in the `guioptions` option should be adequate, unless we want to change the model and allow for...
I've only done extremely basic changes, as I haven't had the time to familiarize myself with the codebase. It won't matter too much if the minimal changes I have made...
Hm, because of how `Clone` is implemented for `Cow` this would have to do `Cow::Owned(field.clone().into_owned())` on every field with a `Cow` to work the way I had in mind.
No worries, I've been quite busy myself as well :)
I am currently looking into potentially writing an async/await wrapper for libpulse-binding. After a small amount of initial experimentation, doing so seems to be viable. Certain parts are easier than...