Docs.rs
sorted-rs-0.1.0
sorted-rs 0.1.0
Permalink
Docs.rs crate page
Apache-2.0/MIT
Links
Repository
Crates.io
Source
Owners
kwanCCC
Dependencies
num ^0.4
normal
criterion ^0.4
dev
lazy_static ^1.4.0
dev
Versions
50%
of the crate is documented
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
☰
Crate sorted_rs
Version 0.1.0
All Items
Enums
Functions
?
Crate
sorted_rs
source
·
[
−
]
Enums
Trend
Trend
is used to describe the trending of input which u want to check
Functions
is_sorted
example: let nums = vec![1, 2, 3, 4, 5, ….]; is_sorted(&nums, Trend::Ascending); let nums = vec![9, 8, 7, 6, 5, ….]; is_sorted(&nums, Trend:Descending);