var searchIndex = {}; searchIndex["euclid"] = {"doc":"","items":[[0,"approxeq","euclid","",null,null],[8,"ApproxEq","euclid::approxeq","Trait for testing approximate equality",null,null],[10,"approx_epsilon","","",0,{"inputs":[],"output":{"name":"eps"}}],[10,"approx_eq","","",0,null],[10,"approx_eq_eps","","",0,null],[0,"length","euclid","A one-dimensional length, tagged with its units.",null,null],[3,"Length","euclid::length","A one-dimensional distance, with value represented by `T` and unit of measurement `Unit`.",null,null],[12,"0","","",1,null],[11,"fmt","","",1,null],[11,"encode","","",1,null],[11,"decode","","",1,{"inputs":[{"name":"__dunitt"}],"output":{"name":"result"}}],[11,"new","","",1,{"inputs":[{"name":"t"}],"output":{"name":"length"}}],[11,"get","","",1,null],[11,"add","","",1,null],[11,"sub","","",1,null],[11,"mul","","",1,null],[11,"div","","",1,null],[11,"neg","","",1,null],[11,"cast","","Cast from one numeric representation to another, preserving the units.",1,null],[11,"clone","","",1,null],[11,"eq","","",1,null],[11,"partial_cmp","","",1,null],[11,"cmp","","",1,null],[11,"zero","","",1,{"inputs":[],"output":{"name":"length"}}],[0,"matrix","euclid","",null,null],[3,"Matrix4","euclid::matrix","",null,null],[12,"m11","","",2,null],[12,"m12","","",2,null],[12,"m13","","",2,null],[12,"m14","","",2,null],[12,"m21","","",2,null],[12,"m22","","",2,null],[12,"m23","","",2,null],[12,"m24","","",2,null],[12,"m31","","",2,null],[12,"m32","","",2,null],[12,"m33","","",2,null],[12,"m34","","",2,null],[12,"m41","","",2,null],[12,"m42","","",2,null],[12,"m43","","",2,null],[12,"m44","","",2,null],[11,"clone","","",2,null],[11,"fmt","","",2,null],[11,"new","","",2,{"inputs":[{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"ortho","","",2,{"inputs":[{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"identity","","",2,{"inputs":[],"output":{"name":"matrix4"}}],[11,"approx_eq","","",2,null],[11,"mul","","",2,null],[11,"mul_s","","",2,null],[11,"scale","","",2,null],[11,"transform_point","","Returns the given point transformed by this matrix.",2,null],[11,"to_array","","",2,null],[11,"translate","","",2,null],[11,"create_translation","","Create a 3d translation matrix",2,{"inputs":[{"name":"f32"},{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"create_scale","","Create a 3d scale matrix",2,{"inputs":[{"name":"f32"},{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"create_rotation","","Create a 3d rotation matrix from an angle / axis.\nThe supplied axis must be normalized.",2,{"inputs":[{"name":"f32"},{"name":"f32"},{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"create_skew","","Create a 2d skew matrix",2,{"inputs":[{"name":"f32"},{"name":"f32"}],"output":{"name":"matrix4"}}],[11,"create_perspective","","Create a simple perspective projection matrix",2,{"inputs":[{"name":"f32"}],"output":{"name":"matrix4"}}],[0,"matrix2d","euclid","",null,null],[3,"Matrix2D","euclid::matrix2d","",null,null],[11,"clone","","",3,null],[11,"new","","",3,{"inputs":[{"name":"t"},{"name":"t"},{"name":"t"},{"name":"t"},{"name":"t"},{"name":"t"}],"output":{"name":"matrix2d"}}],[11,"mul","","",3,null],[11,"translate","","",3,null],[11,"scale","","",3,null],[11,"identity","","",3,{"inputs":[],"output":{"name":"matrix2d"}}],[11,"to_array","","",3,null],[11,"transform_point","","Returns the given point transformed by this matrix.",3,null],[11,"transform_rect","","Returns a rectangle that encompasses the result of transforming the given rectangle by this\nmatrix.",3,null],[0,"num","euclid","A one-dimensional length, tagged with its units.",null,null],[8,"Zero","euclid::num","",null,null],[10,"zero","","",4,{"inputs":[],"output":{"name":"self"}}],[8,"One","","",null,null],[10,"one","","",5,{"inputs":[],"output":{"name":"self"}}],[0,"point","euclid","",null,null],[3,"Point2D","euclid::point","",null,null],[12,"x","","",6,null],[12,"y","","",6,null],[6,"TypedPoint2D","","",null,null],[11,"eq","","",6,null],[11,"ne","","",6,null],[11,"hash","","",6,null],[11,"encode","","",6,null],[11,"decode","","",6,{"inputs":[{"name":"__dt"}],"output":{"name":"result"}}],[11,"clone","","",6,null],[11,"zero","","",6,{"inputs":[],"output":{"name":"point2d"}}],[11,"fmt","","",6,null],[11,"fmt","","",6,null],[11,"new","","",6,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"point2d"}}],[11,"add","","",6,null],[11,"add","","",6,null],[11,"add_size","","",6,null],[11,"sub","","",6,null],[11,"neg","","",6,null],[11,"mul","","",6,null],[11,"div","","",6,null],[11,"typed","","",6,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"typedpoint2d"}}],[11,"to_untyped","","Drop the units, preserving only the numeric value.",6,null],[11,"from_untyped","","Tag a unitless value with units.",6,{"inputs":[{"name":"point2d"}],"output":{"name":"typedpoint2d"}}],[11,"cast","","Cast from one numeric representation to another, preserving the units.",6,null],[11,"as_f32","","",6,null],[11,"as_uint","","",6,null],[0,"rect","euclid","",null,null],[3,"Rect","euclid::rect","",null,null],[12,"origin","","",7,null],[12,"size","","",7,null],[5,"min","","",null,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"t"}}],[5,"max","","",null,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"t"}}],[6,"TypedRect","","",null,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"encode","","",7,null],[11,"decode","","",7,{"inputs":[{"name":"__dt"}],"output":{"name":"result"}}],[11,"clone","","",7,null],[11,"fmt","","",7,null],[11,"fmt","","",7,null],[11,"new","","",7,{"inputs":[{"name":"point2d"},{"name":"size2d"}],"output":{"name":"rect"}}],[11,"intersects","","",7,null],[11,"max_x","","",7,null],[11,"min_x","","",7,null],[11,"max_y","","",7,null],[11,"min_y","","",7,null],[11,"intersection","","",7,null],[11,"union","","",7,null],[11,"translate","","",7,null],[11,"contains","","",7,null],[11,"inflate","","",7,null],[11,"top_right","","",7,null],[11,"bottom_left","","",7,null],[11,"bottom_right","","",7,null],[11,"translate_by_size","","",7,null],[11,"scale","","",7,null],[11,"zero","","",7,{"inputs":[],"output":{"name":"rect"}}],[11,"is_empty","","",7,null],[11,"mul","","",7,null],[11,"div","","",7,null],[11,"to_untyped","","Drop the units, preserving only the numeric value.",7,null],[11,"from_untyped","","Tag a unitless value with units.",7,{"inputs":[{"name":"rect"}],"output":{"name":"typedrect"}}],[11,"cast","","Cast from one numeric representation to another, preserving the units.",7,null],[11,"as_f32","","",7,null],[11,"as_uint","","",7,null],[0,"scale_factor","euclid","A type-checked scaling factor between units.",null,null],[3,"ScaleFactor","euclid::scale_factor","A scaling factor between two different units of measurement.",null,null],[12,"0","","",8,null],[11,"fmt","","",8,null],[11,"encode","","",8,null],[11,"decode","","",8,{"inputs":[{"name":"__dsrcdstt"}],"output":{"name":"result"}}],[11,"new","","",8,{"inputs":[{"name":"t"}],"output":{"name":"scalefactor"}}],[11,"get","","",8,null],[11,"inv","","The inverse ScaleFactor (1.0 / self).",8,null],[11,"mul","","",8,null],[11,"add","","",8,null],[11,"sub","","",8,null],[11,"cast","","Cast from one numeric representation to another, preserving the units.",8,null],[11,"eq","","",8,null],[11,"clone","","",8,null],[0,"side_offsets","euclid","A group of side offsets, which correspond to top/left/bottom/right for borders, padding,\nand margins in CSS.",null,null],[3,"SideOffsets2D","euclid::side_offsets","A group of side offsets, which correspond to top/left/bottom/right for borders, padding,\nand margins in CSS.",null,null],[12,"top","","",9,null],[12,"right","","",9,null],[12,"bottom","","",9,null],[12,"left","","",9,null],[3,"SideOffsets2DSimdI32","","A SIMD enabled version of SideOffsets2D specialized for i32.",null,null],[12,"top","","",10,null],[12,"bottom","","",10,null],[12,"right","","",10,null],[12,"left","","",10,null],[11,"fmt","","",9,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"clone","","",9,null],[11,"new","","",9,{"inputs":[{"name":"t"},{"name":"t"},{"name":"t"},{"name":"t"}],"output":{"name":"sideoffsets2d"}}],[11,"new_all_same","","",9,{"inputs":[{"name":"t"}],"output":{"name":"sideoffsets2d"}}],[11,"horizontal","","",9,null],[11,"vertical","","",9,null],[11,"add","","",9,null],[11,"zero","","",9,{"inputs":[],"output":{"name":"sideoffsets2d"}}],[11,"eq","","",10,null],[11,"ne","","",10,null],[11,"clone","","",10,null],[11,"new","","",10,{"inputs":[{"name":"i32"},{"name":"i32"},{"name":"i32"},{"name":"i32"}],"output":{"name":"sideoffsets2dsimdi32"}}],[11,"new_all_same","","",10,{"inputs":[{"name":"i32"}],"output":{"name":"sideoffsets2dsimdi32"}}],[11,"horizontal","","",10,null],[11,"vertical","","",10,null],[11,"zero","","",10,{"inputs":[],"output":{"name":"sideoffsets2dsimdi32"}}],[11,"is_zero","","",10,null],[0,"size","euclid","",null,null],[3,"Size2D","euclid::size","",null,null],[12,"width","","",11,null],[12,"height","","",11,null],[6,"TypedSize2D","","",null,null],[11,"eq","","",11,null],[11,"ne","","",11,null],[11,"encode","","",11,null],[11,"decode","","",11,{"inputs":[{"name":"__dt"}],"output":{"name":"result"}}],[11,"clone","","",11,null],[11,"fmt","","",11,null],[11,"fmt","","",11,null],[11,"new","","",11,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"size2d"}}],[11,"area","","",11,null],[11,"zero","","",11,{"inputs":[],"output":{"name":"size2d"}}],[11,"zero","","",11,{"inputs":[],"output":{"name":"size2d"}}],[11,"mul","","",11,null],[11,"div","","",11,null],[11,"typed","","",11,{"inputs":[{"name":"t"},{"name":"t"}],"output":{"name":"typedsize2d"}}],[11,"to_untyped","","Drop the units, preserving only the numeric value.",11,null],[11,"from_untyped","","Tag a unitless value with units.",11,{"inputs":[{"name":"size2d"}],"output":{"name":"typedsize2d"}}],[11,"cast","","Cast from one numeric representation to another, preserving the units.",11,null],[11,"as_f32","","",11,null],[11,"as_uint","","",11,null]],"paths":[[8,"ApproxEq"],[3,"Length"],[3,"Matrix4"],[3,"Matrix2D"],[8,"Zero"],[8,"One"],[3,"Point2D"],[3,"Rect"],[3,"ScaleFactor"],[3,"SideOffsets2D"],[3,"SideOffsets2DSimdI32"],[3,"Size2D"]]}; initSearch(searchIndex);