Trait varint_simd::num::SignedVarIntTarget
source · pub trait SignedVarIntTarget: Debug + Eq + PartialEq + Sized + Copy {
type Unsigned: VarIntTarget<Signed = Self>;
// Provided methods
fn zigzag(from: Self) -> Self::Unsigned { ... }
fn unzigzag(from: Self::Unsigned) -> Self { ... }
}
Expand description
Represents a signed scalar value that can be encoded to and decoded from a varint in ZigZag format.