We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Don't know how to name this feature, so example:
use std::fmt::Display; pub trait Footrait { type Owned: Display; } struct AA(i32); impl Footrait for AA { type Owned = String; }
This is not mentioned anywhere, met this in standard library alloc::borrow::ToOwned
alloc::borrow::ToOwned