Trait bitcoin_amount::IntoBtc [−][src]
Trait to mark types as convertable into Amount
s.
Types that implement this trait should perform the conversion from BTC
amounts to satoshis e.g. an f64 performs the conversion of "0.00000025" to
25 satoshis. See Amount::from_sat
.
Required Methods
Implementations on Foreign Types
impl<'a> IntoBtc for &'a f64
[src]
impl<'a> IntoBtc for &'a f64
impl IntoBtc for f64
[src]
impl IntoBtc for f64