Skip to main content

object_rainbow/
niche_cut.rs

1use crate::*;
2
3#[pod(no_niche)]
4pub struct NicheCut;
5
6impl ByteOrd for NicheCut {
7    fn bytes_cmp(&self, Self: &Self) -> Ordering {
8        Ordering::Equal
9    }
10}
11
12impl MaybeHasNiche for NicheCut {
13    type MnArray = NoNiche<NicheForUnsized>;
14}
15
16impl Monostate for NicheCut {}