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],[3,"Volume","","The `Volume` struct can be used to deal with volumes 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],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"from_litres","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_cubic_centimeters","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_milliliters","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_cubic_meters","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_drops","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_drams","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_teaspoons","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_tablespoons","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_fluid_ounces_uk","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_fluid_ounces","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_cubic_inches","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_cups","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_pints","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_pints_uk","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_quarts","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_gallons","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_gallons_uk","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_cubic_feet","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"from_cubic_yards","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"as_cubic_centimeters","","",3,null],[11,"as_milliliters","","",3,null],[11,"as_litres","","",3,null],[11,"as_cubic_meters","","",3,null],[11,"as_drops","","",3,null],[11,"as_drams","","",3,null],[11,"as_teaspoons","","",3,null],[11,"as_tablespoons","","",3,null],[11,"as_cubic_inches","","",3,null],[11,"as_fluid_ounces_uk","","",3,null],[11,"as_fluid_ounces","","",3,null],[11,"as_cups","","",3,null],[11,"as_pints","","",3,null],[11,"as_pints_uk","","",3,null],[11,"as_quarts","","",3,null],[11,"as_gallons","","",3,null],[11,"as_gallons_uk","","",3,null],[11,"as_cubic_feet","","",3,null],[11,"as_cubic_yards","","",3,null],[11,"get_base_units","","",3,null],[11,"from_base_units","","",3,{"inputs":[{"name":"f64"}],"output":{"name":"self"}}],[11,"add","","",3,null],[11,"sub","","",3,null],[11,"div","","",3,null],[11,"div","","",3,null],[11,"mul","","",3,null],[11,"mul","","",3,null],[11,"eq","","",3,null],[11,"partial_cmp","","",3,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","","",4,null],[10,"from_base_units","","",4,{"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"],[3,"Volume"],[8,"Measurement"]]}; initSearch(searchIndex);