Trait ferrite_session::prelude::Prism  
source · [−]pub trait Prism<Row> where
    Row: RowCon, {
    type Elem;
    fn inject_elem<'a, F: 'a + Send>(
        elem: App<'a, F, Self::Elem>
    ) -> AppSum<'a, Row, F>
    where
        F: TyCon,
        Row: 'a;
    fn extract_elem<'a, F: 'a + Send>(
        row: AppSum<'a, Row, F>
    ) -> Option<App<'a, F, Self::Elem>>
    where
        F: TyCon,
        Row: 'a;
}