Docs.rs
musli-binary-common-0.0.24
musli-binary-common 0.0.24
Permalink
Docs.rs crate page
MIT
/
Apache-2.0
26 July 2026
Links
Homepage
Repository
crates.io
Source
Owners
udoprog
Dependencies
musli ^0.0.24
normal
rand ^0.8.5
dev
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
encode
musli_
binary_
common
0.0.24
In musli_
binary_
common::
int::
zigzag
musli_binary_common
::
int
::
zigzag
Function
encode
Copy item path
Source
pub fn encode<T>(x: T) -> T::
Unsigned
where T:
Signed
,
Expand description
Encode an integer into zig-zag encoding.