Struct conrod::graph::algo::PickWidgets
[−]
[src]
pub struct PickWidgets { /* fields omitted */ }
A node "walker" that yields all widgets under the given xy
position in order from top to
bottom.
Methods
impl PickWidgets
[src]
fn next_including_graphics_children(
&mut self,
graph: &Graph,
depth_order: &[Id],
theme: &Theme
) -> Option<Id>
[src]
&mut self,
graph: &Graph,
depth_order: &[Id],
theme: &Theme
) -> Option<Id>
The next widget::Id
under the xy
location.
Unlike the PickWidgets::next
method, this method ignores whether or not the next widget
is a Graphics
child to some other widget.
This is called within PickWidgets::next
.
fn next(
&mut self,
graph: &Graph,
depth_order: &[Id],
theme: &Theme
) -> Option<Id>
[src]
&mut self,
graph: &Graph,
depth_order: &[Id],
theme: &Theme
) -> Option<Id>
The widget::Id
of the next Widget
under the xy
location.
The Graph
is traversed from the top down.
If the next widget is some graphic element of another widget, the graphic parent will be returned.
Trait Implementations
impl Clone for PickWidgets
[src]
fn clone(&self) -> PickWidgets
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more