Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::*;
use crate::TypeReader;

#[derive(Copy, Clone, PartialEq, PartialOrd, Eq, Ord, Debug)]
pub struct TypeSpec(pub Row);

impl TypeSpec {
    pub fn sig<'a>(&self, reader: &'a TypeReader) -> Blob<'a> {
        reader.blob(self.0, 0)
    }
}