Struct cadence_json::Fix64 [−][src]
pub struct Fix64(_);
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
assert_eq!(Fix64::from_raw(1).to_string(), "0.00000001");
assert_eq!(Fix64::from_raw(99999999).to_string(), "0.99999999");
assert_eq!(Fix64::from_raw(999999999).to_string(), "9.99999999");
assert_eq!(Fix64::from_raw(i64::MAX).to_string(), "92233720368.54775807");
assert_eq!(Fix64::from_raw(i64::MIN).to_string(), "-92233720368.54775808");
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Fix64
impl UnwindSafe for Fix64
Blanket Implementations
Mutably borrows from an owned value. Read more