/*
* SPDX-License-Identifier: MIT
* Copyright (c) 2023 - 2026. The DeepCausality Authors and Contributors. All Rights Reserved.
*/usecrate::arrow::Arrow;usecore::marker::PhantomData;/// The identity arrow `A → A` — the unit of composition.
pubstructId<A>(PhantomData<A>);impl<A>Id<A>{/// Constructs the identity arrow.
#[inline]pubconstfnnew()->Self{
Id(PhantomData)}}impl<A> Default forId<A>{#[inline]fndefault()->Self{Id::new()}}impl<A> Arrow forId<A>{typeIn= A;typeOut= A;#[inline]fnrun(&self, input: A)-> A{
input
}}