Docs.rs
  • phoenix-common-0.2.1
    • phoenix-common 0.2.1
    • Docs.rs crate page
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • jarry-xiao
    • Dependencies
      • borsh ^0.9.3 normal
      • bytemuck ^1.13.0 normal
      • ellipsis-macros ^0.1.1 normal
      • itertools ^0.10.5 normal
      • lib-sokoban ^0.3.0 normal
      • num_enum ^0.5.9 normal
      • shank ^0.0.12 normal
      • solana-program ^1.16.3 normal
      • solana-security-txt ^1.1.0 normal
      • spl-associated-token-account ^2.2.0 normal
      • spl-token =3.5.0 normal
      • static_assertions ^1.1.0 normal
      • thiserror ^1.0.38 normal
      • rand ^0.7.3 dev
    • Versions
    • 14.31% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • 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

phoenix0.2.1

WrapperU64

Required Methods

  • as_u64
  • new

Object Safety

Implementors

In phoenix::quantities

?
Change settings

Trait phoenix::quantities::WrapperU64

source ·
pub trait WrapperU64 {
    // Required methods
    fn new(value: u64) -> Self;
    fn as_u64(&self) -> u64;
}

Required Methods§

source

fn new(value: u64) -> Self

source

fn as_u64(&self) -> u64

Object Safety§

This trait is not object safe.

Implementors§

source§

impl WrapperU64 for AdjustedQuoteLots

source§

impl WrapperU64 for BaseAtoms

source§

impl WrapperU64 for BaseAtomsPerBaseLot

source§

impl WrapperU64 for BaseAtomsPerBaseUnit

source§

impl WrapperU64 for BaseLots

source§

impl WrapperU64 for BaseLotsPerBaseUnit

source§

impl WrapperU64 for BaseUnits

source§

impl WrapperU64 for QuoteAtoms

source§

impl WrapperU64 for QuoteAtomsPerBaseUnitPerTick

source§

impl WrapperU64 for QuoteAtomsPerQuoteLot

source§

impl WrapperU64 for QuoteAtomsPerQuoteUnit

source§

impl WrapperU64 for QuoteLots

source§

impl WrapperU64 for QuoteLotsPerBaseUnit

source§

impl WrapperU64 for QuoteLotsPerBaseUnitPerTick

source§

impl WrapperU64 for QuoteLotsPerQuoteUnit

source§

impl WrapperU64 for QuoteUnits

source§

impl WrapperU64 for Ticks