pub trait ApplicativeSt: FunctorSt {
// Required method
fn pure_st<A: 'static>(a: A) -> Self::Of<A>;
}Expand description
Applicative with 'static bounds on type parameters.
This mirrors karpal_core::Applicative but adds 'static bounds required by
types that use Box<dyn Fn> internally (monad transformers, ReaderTF, StateTF, etc.).
Clone-requiring cases are handled by standalone helper functions (such as *_t_pure),
so pure_st itself only requires A: 'static.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl ApplicativeSt for VecF
Available on crate features std or alloc only.
impl ApplicativeSt for VecF
Available on crate features
std or alloc only.