pub struct IdentityFFunctor<C>(/* private fields */)
where
C: TwoCategory;Expand description
The identity functor on a 2-category C.
Trait Implementations§
Source§impl<C> FFunctor<C, C> for IdentityFFunctor<C>where
C: TwoCategory,
impl<C> FFunctor<C, C> for IdentityFFunctor<C>where
C: TwoCategory,
Source§fn map_morphism<A, B>(
f: <C as TwoCategory>::Morphism<A, B>,
) -> <C as TwoCategory>::Morphism<A, B>where
A: 'static,
B: 'static,
fn map_morphism<A, B>(
f: <C as TwoCategory>::Morphism<A, B>,
) -> <C as TwoCategory>::Morphism<A, B>where
A: 'static,
B: 'static,
Map a 1-morphism from C1 to C2.
Source§fn map_two_morphism(
alpha: <C as TwoCategory>::TwoMorphism,
) -> <C as TwoCategory>::TwoMorphism
fn map_two_morphism( alpha: <C as TwoCategory>::TwoMorphism, ) -> <C as TwoCategory>::TwoMorphism
Map a 2-morphism from C1 to C2.
Auto Trait Implementations§
impl<C> Freeze for IdentityFFunctor<C>
impl<C> RefUnwindSafe for IdentityFFunctor<C>where
C: RefUnwindSafe,
impl<C> Send for IdentityFFunctor<C>where
C: Send,
impl<C> Sync for IdentityFFunctor<C>where
C: Sync,
impl<C> Unpin for IdentityFFunctor<C>where
C: Unpin,
impl<C> UnsafeUnpin for IdentityFFunctor<C>
impl<C> UnwindSafe for IdentityFFunctor<C>where
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more