Handle pagination's logic
Add this to your Cargo.toml:
toml
[dependencies]
pagino = "1.0.3"
```rust use pagino::Pagino;
fn main(){ let mut pagino = Pagino::new(true, true, true, true, 1, 10, 1, 1);
let pages: Vec
pagino.setpage(10);
let pages: Vec
pagino.setpage(5);
let pages: Vec
```rust
pagino.getpages() -> Vec
pagino.first() -> (); pagino.previous() -> (); pagino.next() -> (); pagino.last() -> (); ```
All negative numbers are navigate element
rust
-1 First
-2 Previous
-3 Start ellipsis
-4 End ellipsis
-5 Next
-6 Last
rust
show_first: bool
show_previous: bool
show_next: bool
show_last: bool
page: i32
count: i32
sibling_count: i32
boundary_count: i32
https://github.com/pagino/pagino-rust https://crates.io/crates/pagino