Docs.rs
pips-0.2.1
pips 0.2.1
Docs.rs crate page
MIT
Links
Repository
Crates.io
Source
Owners
nfiles
Dependencies
nom ^4.2.3
normal
rand ^0.6.5
normal
Versions
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
pips
::
operators
All crates
[
−
]
[src]
Function
pips
::
operators
::
compare
pub fn compare(left: &
i32
, right: &
i32
) ->
i32
Compare two rolls
returns:
1
if left is greater than right
0
if left is equal to right
-1
if left is less than right