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 WithoutHeader;

impl<H: 'static + Clone, E: 'static + Clone> MapExtra<(H, E)> for WithoutHeader {
    type Mapped = E;

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