citadel_sdk::prelude

Trait Then

pub trait Then<U, F>: Sized
where F: Fn(Self) -> U,
{ // Required method fn then(self, fx: F) -> U; }

Required Methods§

fn then(self, fx: F) -> U

Object Safety§

This trait is not object safe.

Implementors§

§

impl<T, U, F> Then<U, F> for T
where F: Fn(T) -> U,