MCPcopy Create free account

hub / github.com/PistonDevelopers/conrod / functions

Functions1,384 in github.com/PistonDevelopers/conrod

Methodhsl
Set the color of the widget from hsl values.
conrod_core/src/color.rs:540
Methodhsla
Set the color of the widget from hsla values.
conrod_core/src/color.rs:535
Methodimage_color
Map the `Image`'s luminance to the given color.
conrod_core/src/widget/button.rs:170
Methodimage_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
Functionimpl_widget_common
The implementation for `WidgetCommon`.
conrod_derive/src/common.rs:7
Functionimpl_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
Functionimpl_widget_style
The implementation for `WidgetStyle`. This generates an accessor method for every field in the struct
conrod_derive/src/style.rs:9
Functionimpl_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
Methodindex
(&'a self, id: widget::Id)
conrod_core/src/graph/mod.rs:853
Methodindex
(&self, button: Button)
conrod_core/src/input/state.rs:262
Methodindex_mut
(&'a mut self, id: widget::Id)
conrod_core/src/graph/mod.rs:859
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/number_dialer.rs:161
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/button.rs:286
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/envelope_editor.rs:255
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/text_edit.rs:187
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/scrollbar.rs:133
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/rounded_rectangle.rs:89
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/collapsible_area.rs:115
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/slider.rs:108
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/title_bar.rs:138
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/xy_pad.rs:112
Methodinit_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/matrix.rs:119
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/grid.rs:172
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/list_select.rs:399
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/drop_down_list.rs:200
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/bordered_rectangle.rs:63
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/plot_path.rs:79
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/range_slider.rs:154
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/text_box.rs:119
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/canvas.rs:220
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/list.rs:353
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/toggle.rs:131
Methodinit_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/text.rs:148
Methodinit_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/image.rs:93
Methodinit_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/line.rs:280
Methodinit_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/point_path.rs:154
Methodinit_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/shape/polygon.rs:204
Methodinit_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/shape/triangles.rs:331
Methodinit_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/shape/oval.rs:152
Methodinit_state
(&self, _: widget::id::Generator)
conrod_core/src/widget/primitive/shape/rectangle.rs:72
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/graph/mod.rs:866
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/graph/node.rs:449
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/file_navigator/mod.rs:185
Methodinit_state
(&self, id_gen: widget::id::Generator)
conrod_core/src/widget/file_navigator/directory_view.rs:190
Methodinit_state
(&self, id_gen: widget::id::Generator)
backends/conrod_glium/examples/custom_widget.rs:126
Functioninput_state_should_be_made_relative_to_a_given_point
()
conrod_core/src/input/state.rs:311
Methodinstantiate_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
Methodinstantiate_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
Methodinstantiate_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
Methodinstantiate_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
Functionis_depth_edge
(g: &Graph, e: EdgeIndex, _: widget::Id)
conrod_core/src/graph/mod.rs:819
Functionis_graphic_edge
(g: &Graph, e: EdgeIndex, _: widget::Id)
conrod_core/src/graph/mod.rs:831
Methodis_open
Returns whether or not the `Event` results in an open collapsible area.
conrod_core/src/widget/collapsible_area.rs:245
Methodis_over
Does the given point touch the Rectangle.
conrod_core/src/position/rect.rs:233
Methodis_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
Methodis_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
Functionis_over_rect
The default `IsOverFn` used if the `Widget::is_over` method is not overridden.
conrod_core/src/widget/mod.rs:386
Functionis_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
Functionis_over_widget
The function to use for picking whether a given point is over the polygon.
conrod_core/src/widget/rounded_rectangle.rs:210
Functionis_over_widget
The function to use for picking whether a given point is over the line.
conrod_core/src/widget/primitive/line.rs:363
Functionis_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
Functionis_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
Functionis_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
Functionis_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
Methodis_over_widget
(widget: &graph::Container, _: Point, _: &Theme)
conrod_core/src/widget/plot_path.rs:90
Methodis_over_widget
(widget: &Container, _: Point, _: &Theme)
backends/conrod_glium/examples/custom_widget.rs:144
Functionis_x_position_edge
(g: &Graph, e: EdgeIndex, _: widget::Id)
conrod_core/src/graph/mod.rs:823
Functionis_y_position_edge
(g: &Graph, e: EdgeIndex, _: widget::Id)
conrod_core/src/graph/mod.rs:827
Methoditem_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
Functioniter_eq
Compares two iterators to see if they yield the same thing.
conrod_core/src/utils.rs:268
Methodkey
If the `Press` event represents the pressing of keyboard button, return `Some`.
conrod_core/src/event.rs:372
Methodkey_direction
(key: input::Key)
conrod_core/src/widget/list_select.rs:755
Methodkeyboard_capture
Set keyboard capturing widget
conrod_core/src/ui.rs:966
Methodkid_area
The area on which child widgets will be placed when using the `Place` Positionable methods.
conrod_core/src/widget/tabs.rs:196
Methodkid_area
(&self, args: widget::KidAreaArgs<Self>)
conrod_core/src/widget/slider.rs:118
Methodkid_area
(&self, args: widget::KidAreaArgs<Self>)
conrod_core/src/widget/range_slider.rs:165
Methodkid_area
The area of the widget below the title bar, upon which child widgets will be placed.
conrod_core/src/widget/canvas.rs:252
Methodlabel_font_id
Specify the font used for displaying the label.
conrod_core/src/widget/drop_down_list.rs:156
Methodlabel_hsl
Set the color of the widget's label from hsl values.
conrod_core/src/label.rs:31
Methodlabel_hsla
Set the color of the widget's label from hsla values.
conrod_core/src/label.rs:26
Methodlabel_rgb
Set the color of the widget's label from rgb values.
conrod_core/src/label.rs:21
Methodlabel_rgba
Set the color of the widget's label from rgba values.
conrod_core/src/label.rs:16
Methodlabel_x
Specify the label's position relatively to `Button` along the *x* axis.
conrod_core/src/widget/drop_down_list.rs:180
Methodlabel_y
Specify the label's position relatively to `Button` along the *y* axis.
conrod_core/src/widget/drop_down_list.rs:186
Methodlarge_font
Set a "large" font size for the widget's label.
conrod_core/src/label.rs:49
Methodlayout_horizontally
Layout the tabs horizontally.
conrod_core/src/widget/tabs.rs:103
Methodlayout_vertically
Layout the tabs vertically.
conrod_core/src/widget/tabs.rs:109
Methodleft
Build with the **Position** as some distance to the left of another widget.
conrod_core/src/position/mod.rs:282
Methodleft
Produces an `Iterator` that yields only the left mouse button press events.
conrod_core/src/input/widget.rs:308
Methodleft_justify
Align the text to the left of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/text_edit.rs:128
Methodleft_justify
Align the text to the left of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/primitive/text.rs:122
Methodleft_justify_label
Align the text to the left of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/title_bar.rs:88
Methodleft_justify_label
Align the labels to the left of their `Button`s' surface.
conrod_core/src/widget/drop_down_list.rs:162
Methodleft_of
Align `self`'s right edge with the left edge of the `other` **Rect**.
conrod_core/src/position/rect.rs:296
Methodlen
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
Methodlength_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
Methodline_infos
( text: &'a str, font: &'a text::Font, font_size: FontSize, li
conrod_core/src/widget/text_edit.rs:272
Functionlinear
Create a linear gradient.
conrod_core/src/color.rs:405
Functionlines
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
Functionload_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
← previousnext →901–1,000 of 1,384, ranked by callers