pub fn is_super_of(&self, other: &Self, n: usize) -> bool {
        if self == other {
            return true;
        }

        let mut it = other.iter();

        for _ in 0..n {
            if it.next_back().is_none() {
                return false;
            }

            if self == it {
                return true;
            }
        }

        false
    }
/// Test if current is immediate super of `other`.
Test if current is immediate super of `other`.
Test if current is immediate super of ` other ` .
pub fn is_super_of(&self, other: &Self, n: usize) -> bool {
        if self == other {
            return true;
        }
        let mut it = other.iter();
        for _ in 0..n {
            if it.next_back().is_none() {
                return false;
            }
            if self == it {
                return true;
            }
        }
        false
    }
pub fn is_super_of ( & self , other : & Self , n : usize ) -> bool { if self == other { return true ; } let mut it = other . iter ( ) ; for _ in 0 .. n { if it . next_back ( ) . is_none ( ) { return false ; } if self == it { return true ; } } false }
Test if current is immediate super of `other`.
Test if current is immediate super of ` other ` .
&self
other
&Self
n
usize
&self
other
&Self
n
usize