Docs.rs
pyra-margin-0.4.2
pyra-margin 0.4.2
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
iarlacrewe
Dependencies
pyra-tokens ^0.4.2
normal
pyra-types ^0.4.2
normal
solana-pubkey ^2.2.0
normal
thiserror ^2
normal
proptest ^1
dev
Versions
75.49%
of the crate is documented
Go to latest version
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
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
Module capacity
pyra_
margin
0.4.2
Module capacity
Module Items
Structs
Functions
In pyra_
margin::
drift
pyra_margin
::
drift
Module
capacity
Copy item path
Source
Structs
§
Capacity
Result
Result of spending capacity calculation.
Position
Info
Per-position info emitted during capacity calculation.
Functions
§
calculate_
capacity
Calculate spending capacity from Drift spot positions.