var searchIndex = {}; searchIndex["board_game_geom"] = {"doc":"Geometric types for 2D lattice-shaped puzzles.","items":[[3,"Point","board_game_geom","A two-dimensional lattice point.",null,null],[12,"0","","",0,null],[12,"1","","",0,null],[3,"Size","","A size of a rectangle.",null,null],[12,"0","","",1,null],[12,"1","","",1,null],[3,"Move","","A difference between two `Point`s.",null,null],[12,"0","","",2,null],[12,"1","","",2,null],[3,"Rotation","","A 2x2 rotation matrix.",null,null],[3,"CellId","","An ID identifying a cell in lattice rectangle.",null,null],[3,"Points","","An iterator iterating all points in the rectangle.",null,null],[3,"PointsInRow","","An iterator iterating all points in a row of the rectangle.",null,null],[3,"PointsInColumn","","An iterator iterating all points in a column of the rectangle.",null,null],[3,"Table","","A table that stores values for each cells.",null,null],[8,"Geom","","A rectangle area.",null,null],[10,"size","","Returns the rectangle's size.",3,null],[11,"row","","Returns the number of the rectangle's rows.",3,null],[11,"column","","Returns the number of the rectangle's columns.",3,null],[11,"cell_len","","Returns the cell length which is contained in the rectangle.",3,null],[11,"contains","","Returns true if the point is contained in the rectangle.",3,null],[11,"point_to_cellid","","Convert a point to a corresponding cell ID.",3,null],[11,"cellid_to_point","","Convert a cell ID to a corresponding point.",3,null],[11,"points","","Returns an iterator iterating all points.",3,null],[11,"points_in_row","","Returns an iterator iterating all points in the row.",3,null],[11,"points_in_column","","Returns an iterator iterating all points in the column.",3,null],[11,"partial_cmp","","",0,null],[11,"lt","","",0,null],[11,"le","","",0,null],[11,"gt","","",0,null],[11,"ge","","",0,null],[11,"cmp","","",0,null],[11,"hash","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"partial_cmp","","",1,null],[11,"lt","","",1,null],[11,"le","","",1,null],[11,"gt","","",1,null],[11,"ge","","",1,null],[11,"cmp","","",1,null],[11,"hash","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"hash","","",2,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"fmt","","",2,null],[11,"clone","","",2,null],[11,"hash","","",4,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"fmt","","",4,null],[11,"clone","","",4,null],[18,"UP","","An upward `Move` vector.",2,null],[18,"RIGHT","","A rightward `Move` vector.",2,null],[18,"DOWN","","A downward `Move` vector.",2,null],[18,"LEFT","","A leftward `Move` vector.",2,null],[18,"ALL_DIRECTIONS","","`Move` vectors that is toward four adjacent points.",2,null],[18,"ALL_ADJACENTS","","`Move` vectors that is toward eight adjacent points.",2,null],[11,"add","board_game_geom","",0,null],[11,"sub","","",0,null],[11,"add","","",2,null],[11,"sub","","",2,null],[11,"neg","","",2,null],[11,"mul","","",2,null],[18,"CCW0","","A 0-degree `Rotation` to the left (counterclockwise).",4,null],[18,"CCW90","","A 90-degree `Rotation` to the left (counterclockwise).",4,null],[18,"CCW180","","A 180-degree `Rotation` to the left (counterclockwise).",4,null],[18,"CCW270","","A 270-degree `Rotation` to the left (counterclockwise).",4,null],[18,"H_FLIP","","Flip horizontal.",4,null],[18,"V_FLIP","","Flip vertical.",4,null],[11,"mul","board_game_geom","",4,null],[11,"mul","","",4,null],[11,"partial_cmp","","",5,null],[11,"lt","","",5,null],[11,"le","","",5,null],[11,"gt","","",5,null],[11,"ge","","",5,null],[11,"cmp","","",5,null],[11,"hash","","",5,null],[11,"eq","","",5,null],[11,"ne","","",5,null],[11,"fmt","","",5,null],[11,"clone","","",5,null],[18,"OUTSIDE","","An ID being given to cells on outside the rectangle.",5,null],[11,"new","board_game_geom","Creates a new `CellId` from an ID.",5,{"inputs":[{"name":"usize"}],"output":{"name":"cellid"}}],[11,"id","","Gets an ID of the cell.",5,null],[11,"is_outside","","Returns if the cell is on outside of the rectangle.",5,null],[11,"fmt","","",6,null],[11,"clone","","",6,null],[11,"next","","",6,null],[11,"fmt","","",7,null],[11,"clone","","",7,null],[11,"next","","",7,null],[11,"fmt","","",8,null],[11,"clone","","",8,null],[11,"next","","",8,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"fmt","","",9,null],[11,"clone","","",9,null],[11,"new","","Creates a new table with data.",9,{"inputs":[{"name":"size"},{"name":"t"},{"name":"vec"}],"output":{"name":"table"}}],[11,"new_empty","","Creates a new empty table.",9,{"inputs":[{"name":"size"},{"name":"t"},{"name":"t"}],"output":{"name":"table"}}],[11,"size","","",9,null],[11,"index","","",9,null],[11,"index_mut","","",9,null]],"paths":[[3,"Point"],[3,"Size"],[3,"Move"],[8,"Geom"],[3,"Rotation"],[3,"CellId"],[3,"Points"],[3,"PointsInRow"],[3,"PointsInColumn"],[3,"Table"]]}; initSearch(searchIndex);