var searchIndex = {}; searchIndex["measurements"] = {"doc":"","items":[[3,"Length","measurements","The `Length` struct can be used to deal with lengths in a common way.\nCommon metric and imperial units are supported.",null,null],[3,"Temperature","","The `Temperature` struct can be used to deal with temperatures in a common way.",null,null],[3,"Weight","","The `Weight` struct can be used to deal with weights in a common way.",null,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"from_meters","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_nanometers","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_micrometers","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_millimeters","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_centimeters","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_decameters","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_hectometers","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_kilometers","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_inches","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_feet","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_yards","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_furlongs","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_miles","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"as_nanometers","","",0,null],[11,"as_micrometers","","",0,null],[11,"as_millimeters","","",0,null],[11,"as_centimeters","","",0,null],[11,"as_meters","","",0,null],[11,"as_decameters","","",0,null],[11,"as_hectometer","","",0,null],[11,"as_kilometers","","",0,null],[11,"as_inches","","",0,null],[11,"as_feet","","",0,null],[11,"as_yards","","",0,null],[11,"as_furlongs","","",0,null],[11,"as_miles","","",0,null],[11,"get_base_units","","",0,null],[11,"from_base_units","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"add","","",0,null],[11,"sub","","",0,null],[11,"div","","",0,null],[11,"div","","",0,null],[11,"mul","","",0,null],[11,"mul","","",0,null],[11,"eq","","",0,null],[11,"partial_cmp","","",0,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"from_kelvin","","",1,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_celsius","","",1,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_fahrenheit","","",1,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_rankine","","",1,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"as_kelvin","","",1,null],[11,"as_celsius","","",1,null],[11,"as_fahrenheit","","",1,null],[11,"as_rankine","","",1,null],[11,"get_base_units","","",1,null],[11,"from_base_units","","",1,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"add","","",1,null],[11,"sub","","",1,null],[11,"div","","",1,null],[11,"div","","",1,null],[11,"mul","","",1,null],[11,"mul","","",1,null],[11,"eq","","",1,null],[11,"partial_cmp","","",1,null],[11,"fmt","","",2,null],[11,"clone","","",2,null],[11,"from_kilograms","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_micrograms","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_milligrams","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_carats","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_grams","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_metric_tons","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_grains","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_pennyweights","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_ounces","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_troy_ounces","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_pounds","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_troy_pounds","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_stones","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_short_tons","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_long_tons","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"as_micrograms","","",2,null],[11,"as_milligrams","","",2,null],[11,"as_carats","","",2,null],[11,"as_grams","","",2,null],[11,"as_kilograms","","",2,null],[11,"as_metric_tons","","",2,null],[11,"as_grains","","",2,null],[11,"as_pennyweights","","",2,null],[11,"as_ounces","","",2,null],[11,"as_pounds","","",2,null],[11,"as_troy_ounces","","",2,null],[11,"as_troy_pounds","","",2,null],[11,"as_stones","","",2,null],[11,"as_short_tons","","",2,null],[11,"as_long_tons","","",2,null],[11,"get_base_units","","",2,null],[11,"from_base_units","","",2,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"add","","",2,null],[11,"sub","","",2,null],[11,"div","","",2,null],[11,"div","","",2,null],[11,"mul","","",2,null],[11,"mul","","",2,null],[11,"eq","","",2,null],[11,"partial_cmp","","",2,null],[8,"Measurement","","The `Measurement` trait and the `implement_measurement!` macro\nprovides a common way for various measurements to be implemented.",null,null],[10,"get_base_units","","",3,null],[10,"from_base_units","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[14,"implement_measurement!","","This is a special macro that creates the code to implement\noperator and comparison overrides.",null,null]],"paths":[[3,"Length"],[3,"Temperature"],[3,"Weight"],[8,"Measurement"]]}; initSearch(searchIndex);