-
The idea is based on possibly having a NewType for the aggregate id, so be more flexible in handling those types.
Possible solutions could be:
- Add a new generic type to `AggregateState` with c…
-
I tried this code:
```rust
#![feature(generic_associated_types)]
pub trait Func Func U,
{
type Output = U;
fn invoke(&mut self, x: T) -> Self::Output {
self(x)
}
}
…
-
```
Now that we have more than one type of media and links associated with
specimens (eg. fieldnotes, images, publication, project, external links to
GenBank) it would be more useful to have icons r…
-
As proposed in https://github.com/dart-lang/language/pull/3835, an extension (or static extension) declaration can have an 'on-class', and it is able to "inject" static members or constructors into it…
-
```
#[cfg_attr(test, faux::create)]
struct Object {}
#[cfg_attr(test, faux::methods)]
impl Object {
pub fn method(&self, data: impl IntoIterator) {}
}
#[…
-
### Summary of Problem
I am expecting that `R()` will run the type constructor for a generic record `R`, and that the type constructor has a default formal for each generic field with a default value…
mppf updated
11 months ago
-
A familiar foe returns: I'm trying to create a compatibility library that binds XAudio 2.7 to XAudio 2.9 for a legacy game.
However, I can't declare a few APIs using the `#[interface]` macro since th…
-
### What would you like to be added?
Currently, every SharedInformerFactory has an associated `factory_interfaces.go` file. In this generated file, there's a type called `TweakListOptionsFunc func(*"…
-
I tried this code:
```rust
#![feature(generic_associated_types)]
use std::fmt::Debug;
trait Classic {
type Assoc;
}
trait Gat {
type Assoc = ();
}
fn classic_debug(_: T)
w…
-
I tried [this code](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=9d6bf566b87dfd31acf4049377f34912):
```rust
#![feature(generic_associated_types)]
trait Table {
ty…