pub fn swap(&mut self, a: usize, b: usize) {
        match self {
            Self::Float(p) => p.swap(a, b),
            Self::Integer(p) => p.swap(a, b),
            Self::UInteger(p) => p.swap(a, b),
            Self::Bytes(p) => p.swap(a, b),
            Self::String(p) => p.swap(a, b),
            Self::Boolean(p) => p.swap(a, b),
        }
    }
/// swap two elements within a Packers variant
swap two elements within a Packers variant
swap two elements within a Packers variant
pub fn swap(&mut self, a: usize, b: usize) {
        match self {
            Self::Float(p) => p.swap(a, b),
            Self::Integer(p) => p.swap(a, b),
            Self::UInteger(p) => p.swap(a, b),
            Self::Bytes(p) => p.swap(a, b),
            Self::String(p) => p.swap(a, b),
            Self::Boolean(p) => p.swap(a, b),
        }
    }
pub fn swap ( & mut self , a : usize , b : usize ) { match self { Self :: Float ( p ) => p . swap ( a , b ) , Self :: Integer ( p ) => p . swap ( a , b ) , Self :: UInteger ( p ) => p . swap ( a , b ) , Self :: Bytes ( p ) => p . swap ( a , b ) , Self :: String ( p ) => p . swap ( a , b ) , Self :: Boolean ( p ) => p . swap ( a , b ) , } }
swap two elements within a Packers variant
swap two elements within a Packers variant
&mut self
a
usize
b
usize
&mut self
a
usize
b
usize