1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// This is free and unencumbered software released into the public domain.

use super::Type;

pub trait Feature: Type {
    fn is_unique(&self) -> bool {
        true
    }

    fn is_ordered(&self) -> bool {
        false
    }

    fn is_composite(&self) -> bool {
        false
    }

    fn is_end(&self) -> bool {
        false
    }

    fn is_derived(&self) -> bool {
        false
    }

    fn is_readonly(&self) -> bool {
        false
    }

    fn is_portion(&self) -> bool {
        false
    }
}