pub struct Yeet<T>(pub T);
🔬This is a nightly-only experimental API. (
try_trait_v2_yeet
#96374)Expand description
在您的类型上实现 FromResidual<Yeet<T>>
以在函数返回您的类型时启用 do yeet expr
语法。
Tuple Fields§
§0: T
🔬This is a nightly-only experimental API. (
try_trait_v2_yeet
#96374)