/// Returns the shortest possible UUID that is equivalent of this UUID.
Returns the shortest possible UUID that is equivalent of this UUID.
Returns the shortest possible UUID that is equivalent of this UUID .
pub fn shorten(&self) -> &[u8] {
        if self.0[4..] == BASE_UUID_BYTES[4..] {
            if self.0[0..2] == BASE_UUID_BYTES[0..2] {
                &self.0[2..4]
            } else {
                &self.0[..4]
            }
        } else {
            &self.0
        }
    }
pub fn shorten ( & self ) -> & [ u8 ] { if self . 0 [ 4 .. ] == BASE_UUID_BYTES [ 4 .. ] { if self . 0 [ 0 .. 2 ] == BASE_UUID_BYTES [ 0 .. 2 ] { & self . 0 [ 2 .. 4 ] } else { & self . 0 [ .. 4 ] } } else { & self . 0 } }
Returns the shortest possible UUID that is equivalent of this UUID.
Returns the shortest possible UUID that is equivalent of this UUID .
&self