oxilean_std/thunk/comonadctx_traits.rs
1//! # ComonadCtx - Trait Implementations
2//!
3//! This module contains trait implementations for `ComonadCtx`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Clone`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::ComonadCtx;
12
13impl<E: Clone, A: Clone> Clone for ComonadCtx<E, A> {
14 fn clone(&self) -> Self {
15 Self {
16 env: self.env.clone(),
17 focus: self.focus.clone(),
18 }
19 }
20}