Trait ChildrenExt

Source
pub trait ChildrenExt: Sized {
    // Required method
    fn get_children(&mut self) -> &mut Vec<Element>;

    // Provided methods
    fn children_iter<I>(self, children_iter: I) -> Self
       where I: Iterator<Item = Element> { ... }
    fn children<V>(self, children: V) -> Self
       where V: Into<Vec<Element>> { ... }
    fn maybe_child<C>(self, child: Option<C>) -> Self
       where C: IntoElement { ... }
    fn child<C>(self, child: C) -> Self
       where C: IntoElement { ... }
}

Required Methods§

Source

fn get_children(&mut self) -> &mut Vec<Element>

Provided Methods§

Source

fn children_iter<I>(self, children_iter: I) -> Self
where I: Iterator<Item = Element>,

Source

fn children<V>(self, children: V) -> Self
where V: Into<Vec<Element>>,

Source

fn maybe_child<C>(self, child: Option<C>) -> Self
where C: IntoElement,

Source

fn child<C>(self, child: C) -> Self
where C: IntoElement,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ChildrenExt for Accordion

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for Button

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for Chip

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for Draggable

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for DraggableCanvas

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for Dropdown

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for DropdownItem

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for FloatingTab

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for ImageViewer

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for Menu

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for MenuButton

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for MenuContainer

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for MenuItem

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for SubMenu

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for NativeRouter

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for Plot

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for Popup

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for PopupButtons

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for PopupContent

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for ResizablePanel

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for ScrollView

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for SideBarItem

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for Table

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for TableBody

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for TableCell

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for TableHead

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for TableRow

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for Tile

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl ChildrenExt for TooltipContainer

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Source§

impl<T> ChildrenExt for Portal<T>

Source§

fn get_children(&mut self) -> &mut Vec<Element>

Implementors§