object-rainbow 0.0.0-a.58

distributed object model
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::{map_extra::MapExtra, *};

#[derive(
    Debug, ToOutput, InlineOutput, Tagged, ListHashes, Topological, Clone, Copy, Parse, ParseInline,
)]
pub struct Extra0;

impl<A: 'static + Clone, B: 'static + Clone> MapExtra<(A, B)> for Extra0 {
    type Mapped = A;

    fn map_extra(&self, (extra, _): (A, B)) -> Self::Mapped {
        extra
    }
}