var searchIndex = {}; searchIndex["app_units"] = {"doc":"An Au is an "App Unit" and represents 1/60th of a CSS pixel. It was\noriginally proposed in 2002 as a standard unit of measure in Gecko.\nSee https://bugzilla.mozilla.org/show_bug.cgi?id=177805 for more info.","items":[[3,"Au","app_units","",null,null],[12,"0","","",0,null],[11,"cmp","","",0,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,"hash","","",0,null],[11,"clone","","",0,null],[11,"heap_size_of_children","","",0,null],[11,"deserialize","","",0,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"serialize","","",0,null],[11,"default","","",0,{"inputs":[],"output":{"name":"au"}}],[11,"zero","","",0,{"inputs":[],"output":{"name":"au"}}],[11,"is_zero","","",0,null],[11,"encode","","",0,null],[11,"fmt","","",0,null],[11,"add","","",0,null],[11,"sub","","",0,null],[11,"mul","","",0,null],[11,"div","","",0,null],[11,"rem","","",0,null],[11,"neg","","",0,null],[11,"add_assign","","",0,null],[11,"sub_assign","","",0,null],[11,"mul_assign","","",0,null],[11,"div_assign","","",0,null],[11,"new","","FIXME(pcwalton): Workaround for lack of cross crate inlining of newtype structs!",0,{"inputs":[{"name":"i32"}],"output":{"name":"au"}}],[11,"scale_by","","",0,null],[11,"from_px","","",0,{"inputs":[{"name":"i32"}],"output":{"name":"au"}}],[11,"to_px","","Rounds this app unit down to the pixel towards zero and returns it.",0,null],[11,"ceil_to_px","","Ceil this app unit to the appropriate pixel boundary and return it.",0,null],[11,"to_nearest_px","","",0,null],[11,"to_nearest_pixel","","",0,null],[11,"to_f32_px","","",0,null],[11,"to_f64_px","","",0,null],[11,"from_f32_px","","",0,{"inputs":[{"name":"f32"}],"output":{"name":"au"}}],[11,"from_f64_px","","",0,{"inputs":[{"name":"f64"}],"output":{"name":"au"}}],[17,"MIN_AU","","",null,null],[17,"MAX_AU","","",null,null],[17,"AU_PER_PX","","The number of app units in a pixel.",null,null]],"paths":[[3,"Au"]]}; initSearch(searchIndex);