Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PistonDevelopers/conrod
/ functions
Functions
1,384 in github.com/PistonDevelopers/conrod
⨍
Functions
1,384
◇
Types & classes
423
Method
hsl
Set the color of the widget from hsl values.
conrod_core/src/color.rs:540
Method
hsla
Set the color of the widget from hsla values.
conrod_core/src/color.rs:535
Method
image_color
Map the `Image`'s luminance to the given color.
conrod_core/src/widget/button.rs:170
Method
image_color_with_feedback
Map the `Image`'s luminance to the given color. The color will change slightly when the button is highlighted or clicked to give the user some visual
conrod_core/src/widget/button.rs:179
Function
impl_widget_common
The implementation for `WidgetCommon`.
conrod_derive/src/common.rs:7
Function
impl_widget_common_
The implementation for `WidgetCommon_`. The same as `WidgetCommon` but only for use within the conrod crate itself.
conrod_derive/src/common.rs:39
Function
impl_widget_style
The implementation for `WidgetStyle`. This generates an accessor method for every field in the struct
conrod_derive/src/style.rs:9
Function
impl_widget_style_
The implementation for `WidgetStyle_`. The same as `WidgetStyle` but only for use within the conrod crate itself.
conrod_derive/src/style.rs:26
Method
index
(&'a self, id: widget::Id)
conrod_core/src/graph/mod.rs:853
Method
index
(&self, button: Button)
conrod_core/src/input/state.rs:262
Method
index_mut
(&'a mut self, id: widget::Id)
conrod_core/src/graph/mod.rs:859
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/number_dialer.rs:161
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/button.rs:286
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/envelope_editor.rs:255
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/text_edit.rs:187
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/scrollbar.rs:133
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/rounded_rectangle.rs:89
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/collapsible_area.rs:115
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/slider.rs:108
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/title_bar.rs:138
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/xy_pad.rs:112
Method
init_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/matrix.rs:119
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/grid.rs:172
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/list_select.rs:399
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/drop_down_list.rs:200
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/bordered_rectangle.rs:63
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/plot_path.rs:79
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/range_slider.rs:154
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/text_box.rs:119
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/canvas.rs:220
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/list.rs:353
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/toggle.rs:131
Method
init_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/text.rs:148
Method
init_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/image.rs:93
Method
init_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/line.rs:280
Method
init_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/point_path.rs:154
Method
init_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/shape/polygon.rs:204
Method
init_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/shape/triangles.rs:331
Method
init_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/shape/oval.rs:152
Method
init_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/shape/rectangle.rs:72
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/graph/mod.rs:866
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/graph/node.rs:449
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/file_navigator/mod.rs:185
Method
init_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/file_navigator/directory_view.rs:190
Method
init_state
(&self, id_gen: widget::id::Generator)
backends/conrod_glium/examples/custom_widget.rs:126
Function
input_state_should_be_made_relative_to_a_given_point
()
conrod_core/src/input/state.rs:311
Method
instantiate_all_items
Indicates that an `Item` should be instatiated for every element in the list, regardless of whether or not the `Item` would be visible. This is the d
conrod_core/src/widget/list_select.rs:373
Method
instantiate_all_items
Indicates that an `Item` should be instantiated for every element in the list, regardless of whether or not the `Item` would be visible. This is the
conrod_core/src/widget/list.rs:296
Method
instantiate_only_visible_items
Indicates that only `Item`s that are visible should be instantiated. This ensures that we avoid bloating the widget graph with unnecessary nodes and i
conrod_core/src/widget/list_select.rs:383
Method
instantiate_only_visible_items
Indicates that only `Item`s that are visible should be instantiated. This ensures that we avoid bloating the widget graph with unnecessary nodes and i
conrod_core/src/widget/list.rs:306
Function
is_depth_edge
(g: &Graph, e: EdgeIndex, _: widget::Id)
conrod_core/src/graph/mod.rs:819
Function
is_graphic_edge
(g: &Graph, e: EdgeIndex, _: widget::Id)
conrod_core/src/graph/mod.rs:831
Method
is_open
Returns whether or not the `Event` results in an open collapsible area.
conrod_core/src/widget/collapsible_area.rs:245
Method
is_over
Does the given point touch the Rectangle.
conrod_core/src/position/rect.rs:233
Method
is_over
Is the given scalar within our range. # Examples ``` use conrod_core::Range; let range = Range::new(0.0, 10.0); assert!(range.is_over(5.0)); assert
conrod_core/src/position/range.rs:311
Method
is_over
Optionally specify a function to use for determining whether or not a point is over a widget, or if some other widget's function should be used to rep
backends/conrod_glium/examples/custom_widget.rs:141
Function
is_over_rect
The default `IsOverFn` used if the `Widget::is_over` method is not overridden.
conrod_core/src/widget/mod.rs:386
Function
is_over_section_widget
The function to use for picking whether a given point is over the oval section.
conrod_core/src/widget/primitive/shape/oval.rs:341
Function
is_over_widget
The function to use for picking whether a given point is over the polygon.
conrod_core/src/widget/rounded_rectangle.rs:210
Function
is_over_widget
The function to use for picking whether a given point is over the line.
conrod_core/src/widget/primitive/line.rs:363
Function
is_over_widget
The function to use for picking whether a given point is over the point path.
conrod_core/src/widget/primitive/point_path.rs:274
Function
is_over_widget
The function to use for picking whether a given point is over the polygon.
conrod_core/src/widget/primitive/shape/polygon.rs:332
Function
is_over_widget
The function to use for picking whether a given point is over the line.
conrod_core/src/widget/primitive/shape/triangles.rs:481
Function
is_over_widget
The function to use for picking whether a given point is over the oval.
conrod_core/src/widget/primitive/shape/oval.rs:331
Method
is_over_widget
(widget: &graph::Container, _: Point, _: &Theme)
conrod_core/src/widget/plot_path.rs:90
Method
is_over_widget
(widget: &Container, _: Point, _: &Theme)
backends/conrod_glium/examples/custom_widget.rs:144
Function
is_x_position_edge
(g: &Graph, e: EdgeIndex, _: widget::Id)
conrod_core/src/graph/mod.rs:823
Function
is_y_position_edge
(g: &Graph, e: EdgeIndex, _: widget::Id)
conrod_core/src/graph/mod.rs:827
Method
item_size
Specify a fixed item size, where size is a `Scalar` in the direction that the `List` is flowing. When a `List` is constructed with this method, all it
conrod_core/src/widget/list_select.rs:292
Function
iter_eq
Compares two iterators to see if they yield the same thing.
conrod_core/src/utils.rs:268
Method
key
If the `Press` event represents the pressing of keyboard button, return `Some`.
conrod_core/src/event.rs:372
Method
key_direction
(key: input::Key)
conrod_core/src/widget/list_select.rs:755
Method
keyboard_capture
Set keyboard capturing widget
conrod_core/src/ui.rs:966
Method
kid_area
The area on which child widgets will be placed when using the `Place` Positionable methods.
conrod_core/src/widget/tabs.rs:196
Method
kid_area
(&self, args: widget::KidAreaArgs<Self>)
conrod_core/src/widget/slider.rs:118
Method
kid_area
(&self, args: widget::KidAreaArgs<Self>)
conrod_core/src/widget/range_slider.rs:165
Method
kid_area
The area of the widget below the title bar, upon which child widgets will be placed.
conrod_core/src/widget/canvas.rs:252
Method
label_font_id
Specify the font used for displaying the label.
conrod_core/src/widget/drop_down_list.rs:156
Method
label_hsl
Set the color of the widget's label from hsl values.
conrod_core/src/label.rs:31
Method
label_hsla
Set the color of the widget's label from hsla values.
conrod_core/src/label.rs:26
Method
label_rgb
Set the color of the widget's label from rgb values.
conrod_core/src/label.rs:21
Method
label_rgba
Set the color of the widget's label from rgba values.
conrod_core/src/label.rs:16
Method
label_x
Specify the label's position relatively to `Button` along the *x* axis.
conrod_core/src/widget/drop_down_list.rs:180
Method
label_y
Specify the label's position relatively to `Button` along the *y* axis.
conrod_core/src/widget/drop_down_list.rs:186
Method
large_font
Set a "large" font size for the widget's label.
conrod_core/src/label.rs:49
Method
layout_horizontally
Layout the tabs horizontally.
conrod_core/src/widget/tabs.rs:103
Method
layout_vertically
Layout the tabs vertically.
conrod_core/src/widget/tabs.rs:109
Method
left
Build with the **Position** as some distance to the left of another widget.
conrod_core/src/position/mod.rs:282
Method
left
Produces an `Iterator` that yields only the left mouse button press events.
conrod_core/src/input/widget.rs:308
Method
left_justify
Align the text to the left of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/text_edit.rs:128
Method
left_justify
Align the text to the left of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/primitive/text.rs:122
Method
left_justify_label
Align the text to the left of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/title_bar.rs:88
Method
left_justify_label
Align the labels to the left of their `Button`s' surface.
conrod_core/src/widget/drop_down_list.rs:162
Method
left_of
Align `self`'s right edge with the left edge of the `other` **Rect**.
conrod_core/src/position/rect.rs:296
Method
len
The absolute length of the Range aka the absolute magnitude. # Examples ``` use conrod_core::Range; assert_eq!(Range::new(-5.0, 5.0).len(), 10.0);
conrod_core/src/position/range.rs:87
Method
length_weight
Set the length of the Split as a weight. The default length weight for each widget is `1.0`.
conrod_core/src/widget/canvas.rs:159
Method
line_infos
( text: &'a str, font: &'a text::Font, font_size: FontSize, li
conrod_core/src/widget/text_edit.rs:272
Function
linear
Create a linear gradient.
conrod_core/src/color.rs:405
Function
lines
Produce an iterator yielding each line within the given `text` as a new `&str`, where the start and end indices into each line are provided by the giv
conrod_core/src/text.rs:55
Function
load_rust_logo
Load the Rust logo from our assets folder to use as an example image.
backends/conrod_gfx/examples/all_winit_gfx.rs:83
← previous
next →
901–1,000 of 1,384, ranked by callers