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
new
(window: &support::Window)
backends/conrod_vulkano/examples/all_winit_vulkano.rs:255
Method
new
( width: u32, height: u32, title: &str, event_loop: &winit::event_loop::EventL
backends/conrod_vulkano/examples/support/mod.rs:25
Method
new
Construct a `GlyphCache` with a size equal to the given `Display`'s current framebuffer dimensions.
backends/conrod_glium/src/lib.rs:414
Method
new
Constructor for the Demonstration Application model.
backends/conrod_glium/examples/old_demo.rs:61
Method
new
Create a button context to be built upon.
backends/conrod_glium/examples/custom_widget.rs:89
Method
new
()
backends/conrod_glium/examples/tutorial/chapter3_hello_world.rs:109
Method
new_inner
(rect: Rect, num_points: usize, rad_step: Scalar)
conrod_core/src/widget/primitive/shape/oval.rs:213
Method
new_internal
Create a button context to be built upon.
conrod_core/src/widget/button.rs:228
Method
new_section
Produces a new iterator that yields only a section of the `Oval`'s circumference, where the section is described via its angle in radians. `resolutio
conrod_core/src/widget/primitive/shape/oval.rs:242
Method
next
(&mut self)
conrod_derive/src/utils.rs:22
Method
next
(&mut self)
conrod_core/src/image.rs:119
Method
next
(&mut self)
conrod_core/src/mesh.rs:578
Method
next
(&mut self)
conrod_core/src/widget/rounded_rectangle.rs:179
Method
next
Yield the next `Event`.
conrod_core/src/widget/list_select.rs:467
Method
next
Yield the next `Item` in the list.
conrod_core/src/widget/list.rs:374
Method
next
(&mut self)
conrod_core/src/widget/primitive/shape/triangles.rs:231
Method
next
(&mut self)
conrod_core/src/input/widget.rs:415
Method
next
(&mut self)
conrod_core/src/input/global.rs:82
Method
next
(&mut self)
backends/conrod_glium/src/lib.rs:994
Function
next_break_by_character
Returns the next index at which the text will break by either: - A newline character. - A line wrap at the beginning of the first character exceeding
conrod_core/src/text.rs:1191
Function
next_break_by_whitespace
Returns the next index at which the text will break by either: - A newline character. - A line wrap at the beginning of the whitespace that precedes t
conrod_core/src/text.rs:1254
Method
next_id_for_edge
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:214
Method
next_id_for_node
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:192
Function
no_events_should_be_returned_after_reset_is_called
()
conrod_core/src/tests/global_input.rs:49
Method
no_line_wrap
Specify that the **Text** should not wrap lines around the width.
conrod_core/src/widget/primitive/text.rs:92
Method
no_scrollbar
Even in the case that the list is scrollable, do not display a `Scrollbar`.
conrod_core/src/widget/drop_down_list.rs:144
Function
no_wrap
( text: &str, font: &super::Font, font_size: FontSize, _max_wi
conrod_core/src/text.rs:1394
Method
node_capacity
The current capacity for the **Graph**'s internal node `Vec`.
conrod_core/src/graph/mod.rs:242
Function
node_widget_id
Returns the `widget::Id` for a node if one exists. Returns `None` if there is no `Graph` for the given `graph_id` or if there is not yet a `widget::I
conrod_core/src/widget/graph/mod.rs:729
Method
none
No padding.
conrod_core/src/position/mod.rs:846
Method
offset
Specify an offset for the grid. Offsets that are greater than the `step` size will be wrapped around the `step` size.
conrod_core/src/widget/grid.rs:95
Method
offset_direction
()
conrod_core/src/widget/scroll.rs:249
Method
offset_is_at_bound
( scroll: &widget::scroll::State<A>, additiona
conrod_core/src/ui.rs:711
Method
outline
Build a new outlined rounded rectangle widget.
conrod_core/src/widget/rounded_rectangle.rs:64
Method
outline
Build a **Polygon** with the default **Outline** style.
conrod_core/src/widget/primitive/shape/polygon.rs:78
Method
outline
Build a new circular **Outline**d **Oval** widget.
conrod_core/src/widget/primitive/shape/circle.rs:34
Method
outline
A default `Outline` style.
conrod_core/src/widget/primitive/shape/mod.rs:34
Method
outline
Build a new **Outline**d **Oval** widget.
conrod_core/src/widget/primitive/shape/oval.rs:92
Method
outline
Build a new outlined rectangle widget.
conrod_core/src/widget/primitive/shape/rectangle.rs:57
Method
outline_styled
Build an outlined rounded rectangle rather than a filled one.
conrod_core/src/widget/rounded_rectangle.rs:69
Method
outline_styled
Build a **Polygon** **Outline**ed with the given line style.
conrod_core/src/widget/primitive/shape/polygon.rs:83
Method
outline_styled
Build a new circular **Oval** **Outline**d with the given style.
conrod_core/src/widget/primitive/shape/circle.rs:39
Method
outline_styled
A default `Outline` style.
conrod_core/src/widget/primitive/shape/mod.rs:39
Method
outline_styled
Build a new **Oval** **Outline**d with the given style.
conrod_core/src/widget/primitive/shape/oval.rs:97
Method
outline_styled
Build an outlined rectangle rather than a filled one.
conrod_core/src/widget/primitive/shape/rectangle.rs:62
Method
overlap
The Range that represents the range of the overlap between two Ranges if there is some. The returned `Range`'s `start` will always be < its `end`. #
conrod_core/src/position/range.rs:258
Method
pad
(self, pad: Scalar)
conrod_core/src/widget/canvas.rs:192
Method
pad
The Rect with some padding amount applied to each edge.
conrod_core/src/position/rect.rs:270
Method
pad
The Range with some given padding to be applied to each end. # Examples ``` use conrod_core::Range; assert_eq!(Range::new(0.0, 10.0).pad(2.0), Rang
conrod_core/src/position/range.rs:384
Method
pad_bottom
The rect with some padding applied to the bottom edge.
conrod_core/src/position/rect.rs:254
Method
pad_left
The Rect with some padding applied to the left edge.
conrod_core/src/position/rect.rs:238
Method
pad_right
The Rect with some padding applied to the right edge.
conrod_core/src/position/rect.rs:246
Method
pad_top
The Rect with some padding applied to the top edge.
conrod_core/src/position/rect.rs:262
Method
padded_kid_area_wh_of
Set the dimensions as the `KidArea` dimensions of the widget at the given index, padded at all four edges by the given scalar.
conrod_core/src/position/mod.rs:802
Method
padded_wh_of
Set the dimensions as the dimensions of the widget at the given index with all four edges padded by the given scalar.
conrod_core/src/position/mod.rs:769
Method
padding
The Rect with some padding applied.
conrod_core/src/position/rect.rs:279
Method
padding_range
(padding: Padding)
conrod_core/src/widget/scroll.rs:241
Method
parallel_range
(rect: Rect)
conrod_core/src/widget/scroll.rs:233
Method
perpendicular_range
(rect: Rect)
conrod_core/src/widget/scroll.rs:237
Function
plain_contrast_should_weight_colors
()
conrod_core/src/color.rs:546
Method
point
The location of the node.
conrod_core/src/widget/graph/mod.rs:614
Method
position_children
For walking the **Position** children of the given parent node. This first walks the **Axis::X** children, before walking the **Axis::Y** children.
conrod_core/src/graph/mod.rs:544
Method
position_item
( widget: W, last_id: Option<widget::Id>, scroll_trigger_id: widget::Id, first
conrod_core/src/widget/list.rs:786
Method
position_parents
Produces an iterator yielding the parents along both the **X** and **Y** **Position Edge**s respectively.
conrod_core/src/graph/mod.rs:416
Method
position_scroll_trigger
(scroll_trigger: W, list: widget::Id)
conrod_core/src/widget/list.rs:803
Function
post_update_cache
Cache some `PostUpdateCache` widget data into the widget graph. Set the widget that is being cached as the new `prev_widget`. Set the widget's parent
conrod_core/src/ui.rs:1469
Method
prepare
( &mut self, factory: &Factory<B>, queue: QueueId, set_layouts: &[Handle<Descr
backends/conrod_rendy/src/lib.rs:316
Method
press_color
Specify a color to use when the mouse presses the button. By default, this is `color.clicked()` where `color` is the button's regular color.
conrod_core/src/widget/button.rs:220
Function
pressed_next_returns_none_if_no_buttons_are_pressed
()
conrod_core/src/input/state.rs:281
Function
pressed_next_should_return_first_pressed_button
()
conrod_core/src/input/state.rs:288
Method
prev_updated_widgets
Borrow the **Ui**'s set of updated widgets. This set indicates which widgets have were instantiated during the previous call to `Ui::set_widgets`.
conrod_core/src/ui.rs:294
Function
radial
Create a radial gradient.
conrod_core/src/color.rs:410
Method
ranges
(Rect { x, y }: Rect)
conrod_core/src/widget/list.rs:766
Method
red
Return the red value.
conrod_core/src/color.rs:261
Method
relative_to
Returns a copy of the `Motion` relative to the given `xy`
conrod_core/src/event.rs:325
Method
relative_to
Returns a `Rect` with a position relative to the given position.
conrod_core/src/position/rect.rs:228
Method
releases
Filters all events yielded by `Self::events` other than `event::Release`es.
conrod_core/src/input/widget.rs:214
Method
replace
Replaces the given image in the map if it exists. Returns the image or None. Note: Calling this will trigger a redraw the next time `Ui::draw_if_chan
conrod_core/src/image.rs:81
Function
resetting_input_should_clear_out_events
()
conrod_core/src/tests/global_input.rs:34
Function
resetting_input_should_set_starting_state_to_current_state
()
conrod_core/src/tests/global_input.rs:17
Method
resolution
The number of lines used to draw the edge. By default, `DEFAULT_RESOLUTION` is used.
conrod_core/src/widget/primitive/shape/oval.rs:106
Function
rgb_bytes
(r: u8, g: u8, b: u8)
conrod_core/src/color.rs:51
Function
rgb_to_hsl_black
()
conrod_core/src/tests/color.rs:23
Function
rgb_to_hsl_gray
()
conrod_core/src/tests/color.rs:39
Function
rgb_to_hsl_purple
()
conrod_core/src/tests/color.rs:47
Function
rgb_to_hsl_silver
()
conrod_core/src/tests/color.rs:55
Function
rgb_to_hsl_white
()
conrod_core/src/tests/color.rs:31
Method
right
Build with the **Position** as some distance to the right of another widget.
conrod_core/src/position/mod.rs:287
Method
right
Produces an `Iterator` that yields only the right mouse button press events.
conrod_core/src/input/widget.rs:318
Method
right_justify
Align the text to the right of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/text_edit.rs:138
Method
right_justify
Align the text to the right of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/primitive/text.rs:132
Method
right_justify_label
Align the label to the mid-left of the `Button`'s surface.
conrod_core/src/widget/button.rs:259
Method
right_justify_label
Align the text to the right of its bounding **Rect**'s *x* axis range.
conrod_core/src/widget/title_bar.rs:100
Method
right_justify_label
Align the labels to the right of their `Button`s' surface.
conrod_core/src/widget/drop_down_list.rs:168
Method
right_of
Align `self`'s left edge with the right dge of the `other` **Rect**.
conrod_core/src/position/rect.rs:304
Function
run
( event_loop: EventLoop<()>, mut aux: SimpleUiAux<B>, ids: conrod_example_shared::Ids, mut app
backends/conrod_rendy/examples/all_winit_rendy.rs:99
Method
scroll_list_kids
(list: List<Self, S>)
conrod_core/src/widget/list.rs:778
Method
scroll_state
(widget: &graph::Container)
conrod_core/src/widget/scrollbar.rs:329
Method
scrollable_x_parent
(graph: &Graph, id: widget::Id)
conrod_core/src/graph/mod.rs:507
Method
scrollable_x_parent_recursion
A **Walker** type that recursively walks **Depth** parents that are scrollable along the x* axis for the given node.
conrod_core/src/graph/mod.rs:503
← previous
next →
1,101–1,200 of 1,384, ranked by callers