Struct fvm_shared::TOTAL_FILECOIN
source · pub struct TOTAL_FILECOIN { /* private fields */ }
Expand description
Total Filecoin available to the network.
Methods from Deref<Target = TokenAmount>§
pub const DECIMALS: usize = 18usize
pub const PRECISION: u64 = 1_000_000_000_000_000_000u64
pub fn is_zero(&self) -> bool
pub fn is_positive(&self) -> bool
pub fn is_negative(&self) -> bool
pub fn div_rem(&self, other: impl Into<BigInt>) -> (TokenAmount, TokenAmount)
pub fn div_ceil(&self, other: impl Into<BigInt>) -> TokenAmount
pub fn div_floor(&self, other: impl Into<BigInt>) -> TokenAmount
Trait Implementations§
source§impl Deref for TOTAL_FILECOIN
impl Deref for TOTAL_FILECOIN
§type Target = TokenAmount
type Target = TokenAmount
The resulting type after dereferencing.
source§fn deref(&self) -> &TokenAmount
fn deref(&self) -> &TokenAmount
Dereferences the value.
impl LazyStatic for TOTAL_FILECOIN
Auto Trait Implementations§
impl Freeze for TOTAL_FILECOIN
impl RefUnwindSafe for TOTAL_FILECOIN
impl Send for TOTAL_FILECOIN
impl Sync for TOTAL_FILECOIN
impl Unpin for TOTAL_FILECOIN
impl UnwindSafe for TOTAL_FILECOIN
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more