pub enum Child {
Node(VNode),
Text(String),
Many(Vec<Child>),
Empty,
}Expand description
A child element that can be a component, node, or string.
Variants§
Node(VNode)
A VNode
Text(String)
A string (converted to Text)
Many(Vec<Child>)
A vector of children
Empty
Empty child
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Child
impl RefUnwindSafe for Child
impl Send for Child
impl Sync for Child
impl Unpin for Child
impl UnwindSafe for Child
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