-
Instead reworking it to use generics with bounds for conversions allows the user to effectively swap out the models and thus what data is allocated/stored. They would only have to implement the traits…
-
**Describe the bug**
There are cases where result builder type inference fails when using protocols with generics, but succeeds when using an opaque result type.
**Steps To Reproduce**
Try to…
-
Hi,
first of all, we this crate extensively, it makes testing and mocking easy and accessible. Thanks for that!
We now hit one limitation though: `const generics` are not yet supported as the macr…
-
Delegating stuff that takes `self` or `&self` covers many use cases, but there are more. Imagine a simple example like this:
```Rust
use ambassador::delegatable_trait;
use ambassador::Delegate;
…
-
Hi!
I was trying to use GATs in one of my projects, and ran into the following issue.
```rust
#![feature(generic_associated_types)]
trait ModuleConfig {
type Type1;
type Typ…
-
As a result of adjusting the design to account for any nom parser that ingests either &[u8] or &str, the Error type parameter is now broken in the sense of being unspecifiable (you cannot write Error …
-
Add a common interface to all objects that have a type that is registered and their types, e.g. Entity, BlockEntity, AbstractContainerMenu, ...
Currently, it isn't possible to handle those objects …
-
**Is your feature request related to a problem? Please describe.**
When I create a dashboard, I would like to associate it with multiple aspects:
- Service name it is related to
- Environment ty…
-
to me i just think of this way:
+ returning `some FooProtocol` is like we will tell the compiler that we will return “some sort of” generic type that has `FooProtocol` trait (some sort => opaque)
…
-
Currently, the output of rustdoc's JSON backend has very few tests, which only assure some of the most simple functionality. It would be nice to at least have tests for basic forms of each item, as we…