MCPcopy Create free account

hub / github.com/PistonDevelopers/conrod / functions

Functions1,384 in github.com/PistonDevelopers/conrod

↓ 2 callersMethodnext
(&mut self)
conrod_core/src/widget/bordered_rectangle.rs:208
↓ 2 callersMethodnext
(&mut self)
conrod_core/src/widget/primitive/shape/polygon.rs:311
↓ 2 callersMethodnext
(&mut self)
conrod_core/src/input/state.rs:269
↓ 2 callersMethodnext_id
Return the next `widget::Id` for a widget of the given type. If there are no more `Id`s available for the type, a new one will be generated from the
conrod_core/src/widget/graph/mod.rs:139
↓ 2 callersMethodnext_including_graphics_children
The next `widget::Id` under the `xy` location. Unlike the `PickWidgets::next` method, this method ignores whether or not the next widget is a `Graphi
conrod_core/src/graph/algo.rs:38
↓ 2 callersMethodnode_count
The total number of **Node**s in the **Graph**.
conrod_core/src/graph/mod.rs:225
↓ 2 callersMethodnode_mut
Mutably borrow the node at the given **widget::Id** if there is one.
conrod_core/src/graph/mod.rs:341
↓ 2 callersFunctionparams
(ast: &syn::DeriveInput)
conrod_derive/src/style.rs:101
↓ 2 callersFunctionpercentage
Get value percentage between max and min.
conrod_core/src/utils.rs:87
↓ 2 callersFunctionpipeline_layout
( device: &wgpu::Device, bind_group_layout: &wgpu::BindGroupLayout, )
backends/conrod_wgpu/src/lib.rs:641
↓ 2 callersMethodplace_on_kid_area
Set whether or not the **Widget** should be placed on the kid_area. If `true`, the **Widget** will be placed on the `kid_area` of the parent **Widget
conrod_core/src/widget/mod.rs:740
↓ 2 callersFunctionpt_to_px
Converts the given font size in "points" to its font size in pixels.
conrod_core/src/text.rs:78
↓ 2 callersFunctionrecreate_graph
( win_size: [u32; 2], factory: &mut Factory<B>, families: &mut Families<B>, window: &Window,
backends/conrod_rendy/examples/all_winit_rendy.rs:208
↓ 2 callersFunctionrect_corners
Given two points and half the line thickness, return the four corners of the rectangle describing the line.
conrod_core/src/widget/primitive/line.rs:333
↓ 2 callersMethodremove_edge
Remove and return the **Edge** at the given index. Return `None` if it didn't exist.
conrod_core/src/graph/mod.rs:310
↓ 2 callersFunctionrender_pipeline
( device: &wgpu::Device, layout: &wgpu::PipelineLayout, vs_mod: &wgpu::ShaderModule, fs_mod: &
backends/conrod_wgpu/src/lib.rs:689
↓ 2 callersMethodscrollbar_next_to
Specifies that the `List` should be scrollable and should provide a `Scrollbar` to the right of the items.
conrod_core/src/widget/list.rs:319
↓ 2 callersMethodset
Set the user's given widget directly under the `CollapsibleArea`. Returns any events produced by the given widget.
conrod_core/src/widget/collapsible_area.rs:257
↓ 2 callersMethodset_mouse_cursor
Sets the mouse cursor
conrod_core/src/ui.rs:1347
↓ 2 callersFunctionsocket_rect
Retrieve the `Rect` for the given socket on the given node. Returns `None` if there is no node for the given `Id` or if the `socket_index` is out of
conrod_core/src/widget/graph/node.rs:322
↓ 2 callersFunctionsocket_rectangle
Produce the `Rect` for a socket from the raw params required.
conrod_core/src/widget/graph/node.rs:294
↓ 2 callersMethodstretch_to_value
Stretch the end that is closest to the given value only if it lies outside the Range. The resulting Range will retain the direction of the original r
conrod_core/src/position/range.rs:434
↓ 2 callersMethodtaps
Filters all events yielded by `Self::events` for all `event::Tap`s. A _tap_ is determined to have occured if a touch interaction both started and end
conrod_core/src/input/widget.rs:234
↓ 2 callersFunctiontext_texture_client_format
Return the optimal client format for the text texture given the version.
backends/conrod_glium/src/lib.rs:324
↓ 2 callersMethodthickness
Build the widget with the given `thickness`. This value sets the width of vertical scrollbars, or the height of horizontal scrollbars. By default, t
conrod_core/src/widget/scrollbar.rs:99
↓ 2 callersMethodthickness
The thickness of the point path used to draw the plot.
conrod_core/src/widget/plot_path.rs:63
↓ 2 callersFunctiontitle_bar_h_rel_y
The height and relative y coordinate of a Canvas' title bar given some canvas height and font size for the title bar.
conrod_core/src/widget/canvas.rs:417
↓ 2 callersMethodto_hsl
Extract the components of a color in the HSL format.
conrod_core/src/color.rs:144
↓ 2 callersFunctiontriangles
Triangulate a point path. Returns `None` if the given iterator yields less than one point.
conrod_core/src/widget/primitive/point_path.rs:221
↓ 2 callersMethodui
(&self)
backends/conrod_rendy/src/lib.rs:198
↓ 2 callersMethodunselected_color
The color of the unselected entries within each `DirectoryView`.
conrod_core/src/widget/file_navigator/mod.rs:158
↓ 2 callersMethodupdate
Mutate the internal widget state and set a flag notifying us that there has been a mutation. If this method is *not* called, we assume that there has
conrod_core/src/widget/mod.rs:1271
↓ 2 callersMethodupdate
(self, args: widget::UpdateArgs<Self>)
conrod_core/src/widget/list.rs:363
↓ 2 callersMethodupdate
Update the state of the button by handling any input that has occurred since the last update.
backends/conrod_glium/examples/custom_widget.rs:153
↓ 2 callersMethodupdate_index_set
Update the given set of selected indices with this `Selection`.
conrod_core/src/widget/list_select.rs:162
↓ 2 callersFunctionvalue_from_perc
Adjust the value to the given percentage.
conrod_core/src/utils.rs:102
↓ 2 callersFunctionvalue_glyph_slot_width
Return the dimensions of a value glyph slot.
conrod_core/src/widget/number_dialer.rs:113
↓ 2 callersFunctionvertical_tab_bar_w
The width of a vertically laid out tab bar area.
conrod_core/src/widget/tabs.rs:395
↓ 2 callersFunctionvisit_by_depth
Recursive function for visiting all nodes within the dag.
conrod_core/src/graph/depth_order.rs:94
↓ 2 callersMethodwidget_id
Retrieve the `widget::Id` that will be used to instantiate this node's widget.
conrod_core/src/widget/graph/mod.rs:634
↓ 2 callersMethodwidget_mut
If there is a Widget for the given Id, return a mutable reference to it.
conrod_core/src/graph/mod.rs:369
↓ 2 callersMethodwith_alpha
Return the same color but with the given alpha.
conrod_core/src/color.rs:205
↓ 2 callersMethodwith_luminance
Return the same color but with the given luminance.
conrod_core/src/color.rs:191
↓ 2 callersMethodwrap_by_character
Line wrap the **Text** at the beginning of the first character that exceeds the width.
conrod_core/src/widget/primitive/text.rs:104
↓ 2 callersFunctionwrite_if_different
Returns `Borrowed` `elems` if `elems` contains the same elements as yielded by `new_elems`. Allocates a new `Vec<T>` and returns `Owned` if either th
conrod_core/src/utils.rs:248
↓ 2 callersMethodx
The position in the middle of the x bounds.
conrod_core/src/position/rect.rs:78
↓ 2 callersMethodx_direction
Build with the **Position** along the *x* axis as some distance from another widget.
conrod_core/src/position/mod.rs:262
↓ 2 callersMethody
The position in the middle of the y bounds.
conrod_core/src/position/rect.rs:83
↓ 2 callersMethody_direction
Build with the **Position** along the *y* axis as some distance from another widget.
conrod_core/src/position/mod.rs:267
↓ 1 callersMethodalign_text_y_middle
Align the text to the middle of its bounding **Rect**'s *y* axis range.
conrod_core/src/widget/text_edit.rs:148
↓ 1 callersMethodborder_radius
Specify the radius for the node's border.
conrod_core/src/widget/graph/node.rs:177
↓ 1 callersFunctionbordered_rectangle
( button_id: widget::Id, rectangle_id: widget::Id, rect: Rect, color: Color, style: &Style
conrod_core/src/widget/button.rs:440
↓ 1 callersMethodbyte_index
Return the index at which the break occurs.
conrod_core/src/text.rs:1046
↓ 1 callersMethodcenter_justify
Align the text to the middle of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/text_edit.rs:133
↓ 1 callersMethodchar_index
Return the index of the `char` at which the break occurs. To clarify, this index is to be used in relation to the `Chars` iterator.
conrod_core/src/text.rs:1057
↓ 1 callersFunctioncheck_hidden
Returns true if file or directory should be displayed depending on configuration and file status (hidden or not) and extension (matching or not)
conrod_core/src/widget/file_navigator/directory_view.rs:120
↓ 1 callersMethodclear_node_mappings
Clears the `node_id` -> `widget_id` mappings so that they may be recreated during the next node instantiation stage.
conrod_core/src/widget/graph/mod.rs:184
↓ 1 callersFunctionclosest_line
Find the closest line for the given `y` position, and return the line index, Xs iterator, and y-range of that line Returns `None` if there are no lin
conrod_core/src/text.rs:818
↓ 1 callersMethodcommands
Produce an `Iterator` yielding `Command`s.
backends/conrod_wgpu/src/lib.rs:226
↓ 1 callersMethodcommands
Produce an `Iterator` yielding `Command`s.
backends/conrod_vulkano/src/lib.rs:348
↓ 1 callersMethodcommands
Produce an `Iterator` yielding `Command`s.
backends/conrod_glium/src/lib.rs:490
↓ 1 callersFunctionconrod_attrs
(attrs: I)
conrod_derive/src/utils.rs:8
↓ 1 callersFunctionconvert
Converts any `GenericEvent` to an `Input` event for conrod. The given `width` and `height` must be `Scalar` (DPI agnostic) values.
backends/conrod_piston/src/event.rs:9
↓ 1 callersFunctioncreate_descriptors
Create the glyph cache and image descriptors.
backends/conrod_rendy/src/lib.rs:545
↓ 1 callersFunctioncreate_graph
( [win_w, win_h]: [u32; 2], factory: &mut Factory<B>, families: &mut Families<B>, surface: Sur
backends/conrod_rendy/examples/all_winit_rendy.rs:169
↓ 1 callersFunctioncreate_logo_texture
( device: &wgpu::Device, queue: &mut wgpu::Queue, image: image::RgbaImage, )
backends/conrod_wgpu/examples/all_winit_wgpu.rs:289
↓ 1 callersFunctioncreate_shader_interface_fs_out
()
backends/conrod_vulkano/src/lib.rs:125
↓ 1 callersFunctioncreate_shader_interface_vs_in
shader interface def entries
backends/conrod_vulkano/src/lib.rs:78
↓ 1 callersFunctioncreate_shader_interface_vs_out
()
backends/conrod_vulkano/src/lib.rs:104
↓ 1 callersFunctioncreate_val_string
Create the string to be drawn from the given values and precision. Combine this with the label string if one is given.
conrod_core/src/widget/number_dialer.rs:79
↓ 1 callersFunctioncrop_context
Crop the given **Context** to the given **Rect**. This is non-trivial as we must consider the view_size, viewport, the difference in co-ordinate syst
backends/conrod_piston/src/draw.rs:236
↓ 1 callersFunctioncropped_area_of_widget_within_depth
The rectangle that represents the maximum visible area for the widget with the given index. This specifically considers the cropped scroll area for a
conrod_core/src/graph/algo.rs:164
↓ 1 callersFunctiondefault_image_tex_desc
()
backends/conrod_wgpu/src/lib.rs:522
↓ 1 callersMethoddefault_x_dimension
The default width for the **Widget**. This method is only used if no height is explicitly given. By default, this simply calls [**default_dimension*
conrod_core/src/widget/mod.rs:665
↓ 1 callersMethoddefault_x_position
The default **Position** for the widget along the *x* axis. This is used when no **Position** is explicitly given when instantiating the Widget.
conrod_core/src/widget/mod.rs:642
↓ 1 callersMethoddefault_y_dimension
The default height of the widget. By default, this simply calls [**default_dimension**](./fn.default_dimension) with a fallback absolute dimension of
conrod_core/src/widget/mod.rs:673
↓ 1 callersMethoddefault_y_position
The default **Position** for the widget along the *y* axis. This is used when no **Position** is explicitly given when instantiating the Widget.
conrod_core/src/widget/mod.rs:652
↓ 1 callersFunctiondirection_scalar
A multiplier for the scalar direction.
conrod_core/src/widget/graph/node.rs:215
↓ 1 callersMethoddoes_graphic_edge_exist
Does a **Edge::Graphic** exist between the nodes `parent` -> `child`. Returns `false` if either of the given node indices do not exist.
conrod_core/src/graph/mod.rs:583
↓ 1 callersMethoddpi_factor
(&self)
backends/conrod_rendy/src/lib.rs:206
↓ 1 callersMethoddrag_area
If the widget is draggable, implement this method and return the position and dimensions of the draggable space. The position should be relative to th
conrod_core/src/widget/mod.rs:679
↓ 1 callersMethoddraw
Draw the `Ui` in it's current state. NOTE: If you don't need to redraw your conrod GUI every frame, it is recommended to use the `Ui::draw_if_changed
conrod_core/src/ui.rs:1210
↓ 1 callersFunctiondraw_parameters
Default glium `DrawParameters` with alpha blending enabled.
backends/conrod_glium/src/lib.rs:287
↓ 1 callersMethodedge
Borrow the edge at the given **EdgeIndex** if there is one.
conrod_core/src/graph/mod.rs:346
↓ 1 callersMethodedge_mut
Mutably borrow the edge at the given **EdgeIndex** if there is one.
conrod_core/src/graph/mod.rs:351
↓ 1 callersFunctionedge_node_widget_ids
Returns the `widget::Id`s for the start and end nodes. `Edge`s can only exist for the lifetime of a `SessionEdges`, thus we assume that there will al
conrod_core/src/widget/graph/mod.rs:754
↓ 1 callersFunctionedge_socket_rects
Returns a `Rect` for an edge's start and end nodes.
conrod_core/src/widget/graph/node.rs:352
↓ 1 callersMethodedges
Produce an iterator yielding an `Edge` for each node present in the graph.
conrod_core/src/widget/graph/mod.rs:568
↓ 1 callersMethodencode
Encode the command for copying the buffer's pixel data to the glyph cache texture.
backends/conrod_wgpu/src/lib.rs:481
↓ 1 callersMethodend
The end (or "output") for the edge. This is described via the node's `Id` and the position of its input socket.
conrod_core/src/widget/graph/mod.rs:702
↓ 1 callersMethodend_byte
The end of the byte index range for indexing into the slice.
conrod_core/src/text.rs:1086
↓ 1 callersMethodextent
The extent required for the copy command.
backends/conrod_wgpu/src/lib.rs:489
↓ 1 callersFunctionf32_pt_to_scale
Converts the given font size in "points" to a uniform `rusttype::Scale`. This is useful for when the font size is not an integer.
conrod_core/src/text.rs:73
↓ 1 callersMethodfill
Fill the inner vertex and command buffers by translating the given `primitives`. This method may return an `Option<GlyphCacheCommand>`, in which case
backends/conrod_wgpu/src/lib.rs:235
↓ 1 callersMethodfont_id
Specify the font used for displaying the text.
conrod_core/src/widget/title_bar.rs:118
↓ 1 callersMethodframebuffer_dimensions
(&self)
backends/conrod_glium/src/lib.rs:439
↓ 1 callersFunctionfrom_file
Load a single `Font` from a file at the given path.
conrod_core/src/text.rs:193
↓ 1 callersMethodget_depth
(&self)
conrod_core/src/widget/mod.rs:1344
↓ 1 callersMethodget_h
Get the height of the widget.
conrod_core/src/position/mod.rs:819
↓ 1 callersMethodget_x_dimension
(&self, ui: &Ui<B>)
conrod_core/src/position/matrix.rs:134
← previousnext →401–500 of 1,384, ranked by callers