var searchIndex = {}; searchIndex["bear_lib_terminal"] = {"doc":"Slightly rustic FFI for [BearLibTerminal](https://bitbucket.org/cfyzium/bearlibterminal).","items":[[3,"Color","bear_lib_terminal","An RGBA colour repr.",null,null],[12,"red","","",0,null],[12,"green","","",0,null],[12,"blue","","",0,null],[12,"alpha","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"hash","","",0,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"from_rgb","","Equivalent to [`from_rgba()`](fn.from_rgba.html) with full opacity",0,{"inputs":[{"name":"u8"},{"name":"u8"},{"name":"u8"}],"output":{"name":"self"}}],[11,"from_rgba","","",0,{"inputs":[{"name":"u8"},{"name":"u8"},{"name":"u8"},{"name":"u8"}],"output":{"name":"self"}}],[0,"geometry","","Helper `struct`s for abstracting on-screen geometry.",null,null],[3,"Point","bear_lib_terminal::geometry","Represents a single on-screen point/coordinate pair.",null,null],[12,"x","","",1,null],[12,"y","","",1,null],[3,"Size","","A 2D size representation.",null,null],[12,"width","","",2,null],[12,"height","","",2,null],[3,"Rect","","A rectangle, described by its four corners and a size.",null,null],[12,"top_left","","The top-left corner.",3,null],[12,"top_right","","The top-right corner.",3,null],[12,"bottom_right","","The bottom-right corner.",3,null],[12,"bottom_left","","The bottom-left corner.",3,null],[12,"size","","The `Rect`angle's size.",3,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"hash","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"new","","Creates a new point on the specified non-negative coordinates",1,{"inputs":[{"name":"i32"},{"name":"i32"}],"output":{"name":"point"}}],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"hash","","",2,null],[11,"fmt","","",2,null],[11,"clone","","",2,null],[11,"new","","Creates a new non-negative size.",2,{"inputs":[{"name":"i32"},{"name":"i32"}],"output":{"name":"size"}}],[11,"fmt","","",2,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"hash","","",3,null],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"from_size","","Construct a `Rect` from its top-left corner and its size.",3,{"inputs":[{"name":"point"},{"name":"size"}],"output":{"name":"rect"}}],[11,"from_points","","Construct a `Rect` from its top-left and bottom-right corners.",3,{"inputs":[{"name":"point"},{"name":"point"}],"output":{"name":"rect"}}],[11,"from_values","","Construct a `Rect` from its top-left corner and its size, values unwrapped.",3,{"inputs":[{"name":"i32"},{"name":"i32"},{"name":"i32"},{"name":"i32"}],"output":{"name":"rect"}}],[11,"from_point_values","","Construct a `Rect` from its top-left and bottom-right corners, values unwrapped.",3,{"inputs":[{"name":"i32"},{"name":"i32"},{"name":"i32"},{"name":"i32"}],"output":{"name":"rect"}}],[0,"terminal","bear_lib_terminal","Rusticized interface for the FFI.",null,null],[4,"Event","bear_lib_terminal::terminal","A single input event.",null,null],[13,"Close","","Terminal window closed.",4,null],[13,"Resize","","Terminal window resized.",4,null],[13,"MouseMove","","Mouse moved.",4,null],[12,"x","bear_lib_terminal::terminal::Event","`0`-based cell index from the left to which the mouse cursor moved.",4,null],[12,"y","","`0`-based cell index from the top to which the mouse cursor moved.",4,null],[13,"MouseScroll","bear_lib_terminal::terminal","Mouse wheel moved.",4,null],[12,"delta","bear_lib_terminal::terminal::Event","Amount of steps the wheel rotated.",4,null],[13,"KeyPressed","bear_lib_terminal::terminal","A keyboard or mouse button pressed (might repeat, if set in OS).",4,null],[12,"key","bear_lib_terminal::terminal::Event","The key pressed.",4,null],[12,"ctrl","","Whether the Control key is pressed.",4,null],[12,"shift","","Whether the Shift key is pressed.",4,null],[13,"KeyReleased","bear_lib_terminal::terminal","A keyboard or mouse button released.",4,null],[12,"key","bear_lib_terminal::terminal::Event","The key released.",4,null],[12,"ctrl","","Whether the Control key is pressed.",4,null],[12,"shift","","Whether the Shift key is pressed.",4,null],[13,"ShiftPressed","bear_lib_terminal::terminal","The Shift key pressed (might repeat, if set in OS).",4,null],[13,"ShiftReleased","","The Shift key released.",4,null],[13,"ControlPressed","","The Shift key pressed (might repeat, if set in OS).",4,null],[13,"ControlReleased","","The Control key released.",4,null],[4,"KeyCode","","All pressable keys.",null,null],[13,"A","","",5,null],[13,"B","","",5,null],[13,"C","","",5,null],[13,"D","","",5,null],[13,"E","","",5,null],[13,"F","","",5,null],[13,"G","","",5,null],[13,"H","","",5,null],[13,"I","","",5,null],[13,"J","","",5,null],[13,"K","","",5,null],[13,"L","","",5,null],[13,"M","","",5,null],[13,"N","","",5,null],[13,"O","","",5,null],[13,"P","","",5,null],[13,"Q","","",5,null],[13,"R","","",5,null],[13,"S","","",5,null],[13,"T","","",5,null],[13,"U","","",5,null],[13,"V","","",5,null],[13,"W","","",5,null],[13,"X","","",5,null],[13,"Y","","",5,null],[13,"Z","","",5,null],[13,"Row1","","Top-row `1/!` key.",5,null],[13,"Row2","","Top-row `2/@` key.",5,null],[13,"Row3","","Top-row `3/#` key.",5,null],[13,"Row4","","Top-row `4/$` key.",5,null],[13,"Row5","","Top-row `5/%` key.",5,null],[13,"Row6","","Top-row `6/^` key.",5,null],[13,"Row7","","Top-row `7/&` key.",5,null],[13,"Row8","","Top-row `8/*` key.",5,null],[13,"Row9","","Top-row `9/(` key.",5,null],[13,"Row0","","Top-row `0/)` key.",5,null],[13,"Grave","","Top-row &#96;/~ key.",5,null],[13,"Minus","","Top-row `-/_` key.",5,null],[13,"Equals","","Top-row `=/+` key.",5,null],[13,"LeftBracket","","Second-row `[/{` key.",5,null],[13,"RightBracket","","Second-row `]/}` key.",5,null],[13,"Backslash","","Second-row `\\/|` key.",5,null],[13,"Semicolon","","Third-row `;/:` key.",5,null],[13,"Apostrophe","","Third-row `'/"` key.",5,null],[13,"Comma","","Fourth-row `,/<` key.",5,null],[13,"Period","","Fourth-row `./>` key.",5,null],[13,"Slash","","Fourth-row `//?` key.",5,null],[13,"F1","","",5,null],[13,"F2","","",5,null],[13,"F3","","",5,null],[13,"F4","","",5,null],[13,"F5","","",5,null],[13,"F6","","",5,null],[13,"F7","","",5,null],[13,"F8","","",5,null],[13,"F9","","",5,null],[13,"F10","","",5,null],[13,"F11","","",5,null],[13,"F12","","",5,null],[13,"Enter","","",5,null],[13,"Escape","","",5,null],[13,"Backspace","","",5,null],[13,"Tab","","",5,null],[13,"Space","","",5,null],[13,"Pause","","",5,null],[13,"Insert","","",5,null],[13,"Home","","",5,null],[13,"PageUp","","",5,null],[13,"Delete","","",5,null],[13,"End","","",5,null],[13,"PageDown","","",5,null],[13,"Right","","",5,null],[13,"Left","","",5,null],[13,"Down","","",5,null],[13,"Up","","",5,null],[13,"NumDivide","","Numpad `/` key.",5,null],[13,"NumMultiply","","Numpad `*` key.",5,null],[13,"NumMinus","","Numpad `-` key.",5,null],[13,"NumPlus","","Numpad `+` key.",5,null],[13,"NumEnter","","Numpad &#9166; key.",5,null],[13,"NumPeriod","","Numpad `Del/.` key (output locale-dependent).",5,null],[13,"Num1","","Numpad `1/End` key.",5,null],[13,"Num2","","Numpad 2/&#8595; key.",5,null],[13,"Num3","","Numpad `3/PageDown` key.",5,null],[13,"Num4","","Numpad 4/&#8592; key.",5,null],[13,"Num5","","Numpad `5` key.",5,null],[13,"Num6","","Numpad 6/&#8594; key.",5,null],[13,"Num7","","Numpad `7/Home` key.",5,null],[13,"Num8","","Numpad 8/&#8593; key.",5,null],[13,"Num9","","Numpad `9/PageUp` key.",5,null],[13,"Num0","","Numpad `0/Insert` key.",5,null],[13,"MouseLeft","","Left mouse button.",5,null],[13,"MouseRight","","Right mouse button.",5,null],[13,"MouseMiddle","","Middle mouse button a.k.a. pressed scroll wheel.",5,null],[13,"MouseFourth","","",5,null],[13,"MouseFifth","","",5,null],[5,"open","","Creates the terminal window of the specified size with the specified title, without showing it.\nTo show the window use the [`refresh()`](fn.refresh.html) function.",null,{"inputs":[{"name":"str"},{"name":"u32"},{"name":"u32"}],"output":null}],[5,"set","","Invoke the [`terminal_set()` C API function](http://foo.wyrd.name/en:bearlibterminal:reference#set) with the argument's `config_str`.",null,{"inputs":[{"name":"t"}],"output":{"name":"bool"}}],[5,"close","","Closes the terminal window, causing all subsequent functions from the module (apart from [`open()`](fn.open.html)) to fail",null,{"inputs":[],"output":null}],[5,"print","","Prints the specified string to the specified location, formatting it along the way.",null,{"inputs":[{"name":"point"},{"name":"str"}],"output":null}],[5,"print_xy","","Equivalent to [`print()`](fn.print.html) with a `Point` constructed from the first two arguments.",null,{"inputs":[{"name":"i32"},{"name":"i32"},{"name":"str"}],"output":null}],[5,"put","","Prints the specified character to the specified location.",null,{"inputs":[{"name":"point"},{"name":"char"}],"output":null}],[5,"put_xy","","Equivalent to [`put()`](fn.put.html) with a `Point` constructed from the first two arguments.",null,{"inputs":[{"name":"i32"},{"name":"i32"},{"name":"char"}],"output":null}],[5,"put_ext","","Prints the specified character to the specified pixel-offsetted location, gradient-colouring it from the corners.",null,{"inputs":[{"name":"point"},{"name":"point"},{"name":"char"},{"name":"vec"}],"output":null}],[5,"refresh","","Flushes all changes made to the screen; also shows the window after the [`open()`](fn.open.html) call",null,{"inputs":[],"output":null}],[5,"clear","","Clears the screen (either partailly or fully)",null,{"inputs":[{"name":"option"}],"output":null}],[5,"crop","","Sets the current layer's crop area.",null,{"inputs":[{"name":"rect"}],"output":null}],[5,"layer","","Selects the current layer.",null,{"inputs":[{"name":"i32"}],"output":null}],[5,"composition","","Enable or disable composition, (dis)allowing for "stacking" tiles on top of each other in the same cell.",null,{"inputs":[{"name":"bool"}],"output":null}],[5,"pick","","Get the character in the specified coordinates on the specified layer.",null,{"inputs":[{"name":"point"},{"name":"i32"}],"output":{"name":"char"}}],[5,"pick_color","","Get the color of the character in the specified coordinates on the specified layer.",null,{"inputs":[{"name":"point"},{"name":"i32"}],"output":{"name":"color"}}],[5,"pick_bgcolor","","Get the background color in the specified coordinates.",null,{"inputs":[{"name":"point"}],"output":{"name":"color"}}],[5,"delay","","Sleep for the specified amount of milliseconds.",null,{"inputs":[{"name":"i32"}],"output":null}],[5,"has_input","","Check, whether the next [`read_event()`](fn.read_event.html) call will return `Some`.",null,{"inputs":[],"output":{"name":"bool"}}],[5,"measure","","Calculate the argument's width/height without printing it.",null,{"inputs":[{"name":"str"}],"output":{"name":"i32"}}],[5,"read_event","","Returns the next event in the queue if it's available, otherwise returns `None`.",null,{"inputs":[],"output":{"name":"option"}}],[5,"peek_event","","Returns the next event in the queue if it's available without popping it therefrom, otherwise returns `None`.",null,{"inputs":[],"output":{"name":"option"}}],[5,"wait_event","","Returns the next event, blocks until one's available.",null,{"inputs":[],"output":{"name":"option"}}],[5,"set_foreground","","Sets the current foreground color, which will affect all the output functions called later.",null,{"inputs":[{"name":"color"}],"output":null}],[5,"with_foreground","","Sets the foreground color before calling the function and resets it afterwards.",null,{"inputs":[{"name":"color"},{"name":"f"}],"output":null}],[5,"set_background","","Sets the current background color, which will affect all the output functions called later.",null,{"inputs":[{"name":"color"}],"output":null}],[5,"with_background","","Sets the background color before calling the function and resets it afterwards.",null,{"inputs":[{"name":"color"},{"name":"f"}],"output":null}],[5,"set_colors","","Sets the current foreground and background color, which will affect all the output functions called later.",null,{"inputs":[{"name":"color"},{"name":"color"}],"output":null}],[5,"with_colors","","Sets the foreground and background color before calling the function and resets them afterwards.",null,{"inputs":[{"name":"color"},{"name":"color"},{"name":"f"}],"output":null}],[11,"eq","","",5,null],[11,"hash","","",5,null],[11,"fmt","","",5,null],[11,"clone","","",5,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"hash","","",4,null],[11,"fmt","","",4,null],[11,"clone","","",4,null],[0,"config","","Module containing BLT configuration options.",null,null],[3,"Terminal","bear_lib_terminal::terminal::config","The `terminal` [configuration](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#library_configuration) section repr.",null,null],[3,"Window","","The `window` [configuration](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#library_configuration) section repr.",null,null],[3,"Input","","The `input` [configuration](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#library_configuration) section repr.",null,null],[3,"Output","","The `output` [configuration](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#library_configuration) section repr.",null,null],[3,"Log","","The `log` [configuration](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#library_configuration) section repr.",null,null],[4,"Cellsize","","Possible cell size, `Auto` will make the size be selected based on the font.",null,null],[13,"Auto","","",6,null],[13,"Sized","","",6,null],[4,"LogLevel","","Logging levels, as specified [here](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#library_configuration).",null,null],[13,"None","","",7,null],[13,"Fatal","","",7,null],[13,"Error","","",7,null],[13,"Warning","","",7,null],[13,"Info","","",7,null],[13,"Debug","","",7,null],[13,"Trace","","",7,null],[4,"LogMode","","Log writing mode.",null,null],[13,"Truncate","","Reset the log each time.",8,null],[13,"Append","","Continue writing at the end.",8,null],[4,"InputFilter","","One input filter element.",null,null],[13,"Event","","",9,null],[12,"name","bear_lib_terminal::terminal::config::InputFilter","",9,null],[12,"both","","",9,null],[13,"Group","bear_lib_terminal::terminal::config","",9,null],[12,"group","bear_lib_terminal::terminal::config::InputFilter","",9,null],[12,"both","","",9,null],[13,"Alnum","bear_lib_terminal::terminal::config","",9,null],[12,"keys","bear_lib_terminal::terminal::config::InputFilter","",9,null],[12,"both","","",9,null],[4,"InputFilterGroup","bear_lib_terminal::terminal::config","Filter event group, from [here](http://foo.wyrd.name/en:bearlibterminal:reference:input#inputfilter).",null,null],[13,"Arrow","","",10,null],[13,"Keypad","","",10,null],[13,"Keyboard","","",10,null],[13,"Mouse","","",10,null],[13,"System","","Close + Resized",10,null],[4,"InputFilterEvent","","As enumerated [here](foo.wyrd.name/en:bearlibterminal:reference:input#event_and_state_constants)",null,null],[13,"A","","",11,null],[13,"B","","",11,null],[13,"C","","",11,null],[13,"D","","",11,null],[13,"E","","",11,null],[13,"F","","",11,null],[13,"G","","",11,null],[13,"H","","",11,null],[13,"I","","",11,null],[13,"J","","",11,null],[13,"K","","",11,null],[13,"L","","",11,null],[13,"M","","",11,null],[13,"N","","",11,null],[13,"O","","",11,null],[13,"P","","",11,null],[13,"Q","","",11,null],[13,"R","","",11,null],[13,"S","","",11,null],[13,"T","","",11,null],[13,"U","","",11,null],[13,"V","","",11,null],[13,"W","","",11,null],[13,"X","","",11,null],[13,"Y","","",11,null],[13,"Z","","",11,null],[13,"Row0","","",11,null],[13,"Row1","","",11,null],[13,"Row2","","",11,null],[13,"Row3","","",11,null],[13,"Row4","","",11,null],[13,"Row5","","",11,null],[13,"Row6","","",11,null],[13,"Row7","","",11,null],[13,"Row8","","",11,null],[13,"Row9","","",11,null],[13,"Space","","",11,null],[13,"Minus","","",11,null],[13,"Equals","","",11,null],[13,"LBracket","","",11,null],[13,"RBracket","","",11,null],[13,"Backslash","","",11,null],[13,"Semicolon","","",11,null],[13,"Apostrophe","","",11,null],[13,"Grave","","",11,null],[13,"Comma","","",11,null],[13,"Period","","",11,null],[13,"Slash","","",11,null],[13,"F1","","",11,null],[13,"F2","","",11,null],[13,"F3","","",11,null],[13,"F4","","",11,null],[13,"F5","","",11,null],[13,"F6","","",11,null],[13,"F7","","",11,null],[13,"F8","","",11,null],[13,"F9","","",11,null],[13,"F10","","",11,null],[13,"F11","","",11,null],[13,"F12","","",11,null],[13,"Return","","",11,null],[13,"Escape","","",11,null],[13,"Backspace","","",11,null],[13,"Tab","","",11,null],[13,"Pause","","",11,null],[13,"Insert","","",11,null],[13,"Home","","",11,null],[13,"Pageup","","",11,null],[13,"Delete","","",11,null],[13,"End","","",11,null],[13,"Pagedown","","",11,null],[13,"Right","","",11,null],[13,"Left","","",11,null],[13,"Down","","",11,null],[13,"Up","","",11,null],[13,"Shift","","",11,null],[13,"Control","","",11,null],[13,"Pad0","","",11,null],[13,"Pad1","","",11,null],[13,"Pad2","","",11,null],[13,"Pad3","","",11,null],[13,"Pad4","","",11,null],[13,"Pad5","","",11,null],[13,"Pad6","","",11,null],[13,"Pad7","","",11,null],[13,"Pad8","","",11,null],[13,"Pad9","","",11,null],[13,"PadDivide","","",11,null],[13,"PadMultiply","","",11,null],[13,"PadMinus","","",11,null],[13,"PadPlus","","",11,null],[13,"PadPeriod","","",11,null],[13,"PadEnter","","",11,null],[13,"MouseLeft","","",11,null],[13,"MouseRight","","",11,null],[13,"MouseMiddle","","",11,null],[13,"MouseX1","","",11,null],[13,"MouseX2","","",11,null],[13,"MouseMove","","",11,null],[13,"MouseScroll","","",11,null],[13,"MouseWheel","","",11,null],[13,"MouseX","","",11,null],[13,"MouseY","","",11,null],[13,"MousePixelX","","",11,null],[13,"MousePixelY","","",11,null],[13,"MouseClicks","","",11,null],[13,"Width","","",11,null],[13,"Height","","",11,null],[13,"CellWidth","","",11,null],[13,"CellHeight","","",11,null],[13,"Color","","",11,null],[13,"Bkcolor","","",11,null],[13,"Layer","","",11,null],[13,"Composition","","",11,null],[13,"Char","","",11,null],[13,"Wchar","","",11,null],[13,"Event","","",11,null],[13,"Fullscreen","","",11,null],[13,"Close","","",11,null],[13,"Resized","","",11,null],[5,"escape_config_string","","Escapes `'`s and wraps the strings with `'`s, as per [this](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#configuration_string_format).",null,{"inputs":[{"name":"string"}],"output":{"name":"string"}}],[11,"hash","","",12,null],[11,"eq","","",12,null],[11,"ne","","",12,null],[11,"fmt","","",12,null],[11,"clone","","",12,null],[11,"hash","","",13,null],[11,"eq","","",13,null],[11,"ne","","",13,null],[11,"fmt","","",13,null],[11,"clone","","",13,null],[11,"hash","","",14,null],[11,"eq","","",14,null],[11,"ne","","",14,null],[11,"fmt","","",14,null],[11,"clone","","",14,null],[11,"hash","","",15,null],[11,"eq","","",15,null],[11,"ne","","",15,null],[11,"fmt","","",15,null],[11,"clone","","",15,null],[11,"hash","","",16,null],[11,"eq","","",16,null],[11,"ne","","",16,null],[11,"fmt","","",16,null],[11,"clone","","",16,null],[11,"hash","","",6,null],[11,"eq","","",6,null],[11,"ne","","",6,null],[11,"fmt","","",6,null],[11,"clone","","",6,null],[11,"hash","","",7,null],[11,"eq","","",7,null],[11,"fmt","","",7,null],[11,"clone","","",7,null],[11,"hash","","",8,null],[11,"eq","","",8,null],[11,"fmt","","",8,null],[11,"clone","","",8,null],[11,"new","","Construct a new `terminal` [configuration](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#library_configuration) section override\nsegment with a specified used for unibyte strings, which is better left at default, as Rust uses UTF-8 for everything.",12,{"inputs":[{"name":"string"}],"output":{"name":"terminal"}}],[11,"empty","","Construct a `window` [configuration](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#library_configuration) section override segment\nwith everything being equal to `None`.",13,{"inputs":[],"output":{"name":"window"}}],[11,"size","","Window size in cells.",13,null],[11,"cellsize","","Size of all cells, in pixels.",13,null],[11,"title","","The terminal window's title.",13,null],[11,"icon","","The path of the icon used for the terminal window.",13,null],[11,"resizeable","","Whether the terminal window should be resizeable.",13,null],[11,"fullscreen","","Whether to enforce fullscreen mode.",13,null],[11,"empty","","Construct an `input` [configuration](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#library_configuration) section override segment\nwith all elements equal to `None`.",14,{"inputs":[],"output":{"name":"input"}}],[11,"precise_mouse","","Whether to generate a mouse-move event when a mouse moves from one pixel to another as opposed to from one cell to another.",14,null],[11,"mouse_cursor","","Whether to show the cursor.",14,null],[11,"cursor_symbol","","The cursor symbol to blink in the read string function.",14,null],[11,"cursor_blink_rate","","Amount of time in milliseconds to blink the cursor symbol for.",14,null],[11,"clean","","Construct an `output` [configuration](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#library_configuration) section override segment\nwith all values equalling `None`",15,{"inputs":[],"output":{"name":"output"}}],[11,"postformatting","","Whether to process special tags in the [`print()`](../fn.print.html) function.",15,null],[11,"vsync","","Toggle OpenGL VSync.",15,null],[11,"empty","","Construct an `log` [configuration](http://foo.wyrd.name/en:bearlibterminal:reference:configuration#library_configuration) section override segment\nwith everything set to `None`",16,{"inputs":[],"output":{"name":"log"}}],[11,"file","","The file to write the log to. Note, that, IME, it didn't work.",16,null],[11,"level","","The minimal log level to print at.",16,null],[11,"mode","","How to write to the log file if one laready exists.",16,null],[11,"to_config_str","","",12,null],[11,"to_config_str","","",13,null],[11,"to_config_str","","",14,null],[11,"to_config_str","","",15,null],[11,"to_config_str","","",16,null],[11,"fmt","","",7,null],[11,"fmt","","",8,null],[11,"hash","","",9,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"fmt","","",9,null],[11,"clone","","",9,null],[11,"hash","","",10,null],[11,"eq","","",10,null],[11,"fmt","","",10,null],[11,"clone","","",10,null],[11,"hash","","",11,null],[11,"eq","","",11,null],[11,"fmt","","",11,null],[11,"clone","","",11,null],[11,"fmt","","",10,null],[11,"fmt","","",11,null],[0,"font","","Module containing font changing tools.",null,null],[3,"Bitmap","bear_lib_terminal::terminal::config::font","A bitmap font override segment repr, constructed with [`true_type()`](fn.true_type.html).",null,null],[3,"TrueType","","A TrueType font override segment repr, constructed with [`true_type()`](fn.true_type.html).",null,null],[4,"Origin","","The origin for the font (the part before `:` in the config string).",null,null],[13,"Root","","`font`",17,null],[13,"Offset","","`0xNNNN`",17,null],[4,"RasterizationMode","","Rasterization mode for TrueType fonts.",null,null],[13,"Monochrome","","",18,null],[13,"Normal","","",18,null],[13,"Lcd","","Forces an opaque black background.",18,null],[4,"ResizeFilter","","Resizing filter for bitmaps.",null,null],[13,"Nearest","","",19,null],[13,"Bilinear","","",19,null],[13,"Bicubic","","",19,null],[4,"ResizeMode","","How to aspect-change when resizing a bitmap.",null,null],[13,"Stretch","","",20,null],[13,"Fit","","",20,null],[13,"Crop","","",20,null],[4,"Align","","Per-tileset tile alignment.",null,null],[13,"Center","","",21,null],[13,"TopLeft","","",21,null],[13,"BottomLeft","","",21,null],[13,"TopRight","","",21,null],[13,"BottomRight","","",21,null],[5,"bitmap","","Construct a bitmap font override segment repr.",null,{"inputs":[{"name":"origin"},{"name":"t"}],"output":{"name":"bitmap"}}],[5,"true_type","","Construct a TrueType font override segment repr.",null,{"inputs":[{"name":"origin"},{"name":"t"},{"name":"size"}],"output":{"name":"truetype"}}],[11,"hash","","",17,null],[11,"eq","","",17,null],[11,"ne","","",17,null],[11,"fmt","","",17,null],[11,"clone","","",17,null],[11,"hash","","",18,null],[11,"eq","","",18,null],[11,"fmt","","",18,null],[11,"clone","","",18,null],[11,"hash","","",19,null],[11,"eq","","",19,null],[11,"fmt","","",19,null],[11,"clone","","",19,null],[11,"hash","","",20,null],[11,"eq","","",20,null],[11,"fmt","","",20,null],[11,"clone","","",20,null],[11,"hash","","",21,null],[11,"eq","","",21,null],[11,"fmt","","",21,null],[11,"clone","","",21,null],[11,"hash","","",22,null],[11,"eq","","",22,null],[11,"ne","","",22,null],[11,"fmt","","",22,null],[11,"clone","","",22,null],[11,"hash","","",23,null],[11,"eq","","",23,null],[11,"ne","","",23,null],[11,"fmt","","",23,null],[11,"clone","","",23,null],[11,"size","","The size of a single tile in the tileset.",22,null],[11,"resize","","The size to resize the image to.",22,null],[11,"resize_filter","","How to resize the image.",22,null],[11,"resize_mode","","Resize aspect method.",22,null],[11,"raw_size","","Raw memory size, `size` if not specified.",22,null],[11,"codepage","","Tileset's codepage.",22,null],[11,"align","","How tiles are to be aligned.",22,null],[11,"spacing","","Tile alignment area \\[cells\\].",22,null],[11,"size_reference","","Character used for size probing.",23,null],[11,"mode","","Rasterization mode. Note: `RasterizationMode::Lcd` forces opaque black background.",23,null],[11,"codepage","","Reverse codepage for loading symbols.",23,null],[11,"align","","How tiles are to be aligned.",23,null],[11,"spacing","","Tile alignment area \\[cells\\].",23,null],[11,"to_config_str","","",22,null],[11,"to_config_str","","",23,null],[11,"fmt","","",17,null],[11,"fmt","","",18,null],[11,"fmt","","",19,null],[11,"fmt","","",20,null],[11,"fmt","","",21,null],[8,"ConfigPart","bear_lib_terminal::terminal::config","Trait for generating BLT configuration strings.",null,null],[10,"to_config_str","","",24,null]],"paths":[[3,"Color"],[3,"Point"],[3,"Size"],[3,"Rect"],[4,"Event"],[4,"KeyCode"],[4,"Cellsize"],[4,"LogLevel"],[4,"LogMode"],[4,"InputFilter"],[4,"InputFilterGroup"],[4,"InputFilterEvent"],[3,"Terminal"],[3,"Window"],[3,"Input"],[3,"Output"],[3,"Log"],[4,"Origin"],[4,"RasterizationMode"],[4,"ResizeFilter"],[4,"ResizeMode"],[4,"Align"],[3,"Bitmap"],[3,"TrueType"],[8,"ConfigPart"]]}; initSearch(searchIndex);