kvarn_async::prelude::compact_str::core::ops

Struct Yeet

source
pub struct Yeet<T>(pub T);
🔬This is a nightly-only experimental API. (try_trait_v2_yeet)
Expand description

Implement FromResidual<Yeet<T>> on your type to enable do yeet expr syntax in functions returning your type.

Tuple Fields§

§0: T
🔬This is a nightly-only experimental API. (try_trait_v2_yeet)

Trait Implementations§

source§

impl<T> Debug for Yeet<T>
where T: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more