pub struct Elements<'children, 'tree, 'bp> { /* private fields */ }Implementations§
Source§impl<'children, 'tree, 'bp> Elements<'children, 'tree, 'bp>
impl<'children, 'tree, 'bp> Elements<'children, 'tree, 'bp>
pub fn by_tag<'a>( &mut self, tag: &'a str, ) -> ElementQuery<'_, 'tree, 'bp, Kind<'a>>
pub fn at_position<'a>( &mut self, pos: impl Into<Pos>, ) -> ElementQuery<'_, 'tree, 'bp, Kind<'a>>
pub fn first<F, U>(&mut self, f: F) -> Option<U>
pub fn each<F>(&mut self, f: F)
pub fn by_attribute<'a>( &mut self, key: &'a str, value: impl Into<QueryValue<'a>>, ) -> ElementQuery<'_, 'tree, 'bp, Kind<'a>>
pub fn by_id<'a>( &mut self, id: WidgetId, ) -> ElementQuery<'_, 'tree, 'bp, Kind<'a>>
Auto Trait Implementations§
impl<'children, 'tree, 'bp> Freeze for Elements<'children, 'tree, 'bp>
impl<'children, 'tree, 'bp> !RefUnwindSafe for Elements<'children, 'tree, 'bp>
impl<'children, 'tree, 'bp> !Send for Elements<'children, 'tree, 'bp>
impl<'children, 'tree, 'bp> !Sync for Elements<'children, 'tree, 'bp>
impl<'children, 'tree, 'bp> Unpin for Elements<'children, 'tree, 'bp>
impl<'children, 'tree, 'bp> !UnwindSafe for Elements<'children, 'tree, 'bp>
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