var searchIndex = {}; searchIndex["currency"] = {"doc":"A `Currency` is a combination of an optional character (`Option<char>``) and a big integer\n(`BigInt`).","items":[[3,"Currency","currency","Represents currency through an optional symbol and amount of coin.",null,null],[3,"ParseCurrencyError","","",null,null],[11,"partial_cmp","","",0,null],[11,"lt","","",0,null],[11,"le","","",0,null],[11,"gt","","",0,null],[11,"ge","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"default","","",0,{"inputs":[],"output":{"name":"currency"}}],[11,"hash","","",0,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"new","","Creates a blank Currency with no symbol and 0 coin.",0,{"inputs":[],"output":{"name":"self"}}],[11,"from_str","","Parses a string literal (&str) and attempts to convert it into a currency. Returns\n`Ok(Currency)` on a successful conversion, otherwise `Err(ParseCurrencyError)`.",0,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"sign","","Returns the `Sign` of the `BigInt` holding the coins.",0,null],[11,"value","","Returns the number of coins held in the `Currency` as `&BigInt`.",0,null],[11,"convert","","Returns a new `Currency` by multiplying the coin by the conversion rate and changing the\nsymbol.",0,null],[11,"fmt","","",0,null],[11,"from_str","","",0,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"clone","","",1,null],[11,"fmt","","",1,null],[11,"fmt","","",1,null],[11,"description","","",1,null],[11,"fmt","","",0,null],[11,"add","","",0,null],[11,"add","","",0,null],[11,"sub","","",0,null],[11,"sub","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"neg","","",0,null]],"paths":[[3,"Currency"],[3,"ParseCurrencyError"]]}; initSearch(searchIndex);