pub struct PickWidgets { /* private fields */ }Expand description
A node “walker” that yields all widgets under the given xy position in order from top to
bottom.
Implementations§
Source§impl PickWidgets
impl PickWidgets
Sourcepub fn next_including_graphics_children(
&mut self,
graph: &Graph,
depth_order: &[Id],
theme: &Theme,
) -> Option<Id>
pub fn next_including_graphics_children( &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.
Trait Implementations§
Source§impl Clone for PickWidgets
impl Clone for PickWidgets
Source§fn clone(&self) -> PickWidgets
fn clone(&self) -> PickWidgets
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PickWidgets
impl RefUnwindSafe for PickWidgets
impl Send for PickWidgets
impl Sync for PickWidgets
impl Unpin for PickWidgets
impl UnwindSafe for PickWidgets
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more