pub enum Child<M> {
Element(Box<Element<M>>),
Text(String),
}Expand description
A child as the macro sees it: an element or a run of text.
Variants§
Trait Implementations§
Source§impl<M> IntoChildren<M> for Child<M>
impl<M> IntoChildren<M> for Child<M>
fn into_children(self) -> Vec<Child<M>>
Auto Trait Implementations§
impl<M> !RefUnwindSafe for Child<M>
impl<M> !Send for Child<M>
impl<M> !Sync for Child<M>
impl<M> !UnwindSafe for Child<M>
impl<M> Freeze for Child<M>
impl<M> Unpin for Child<M>
impl<M> UnsafeUnpin for Child<M>
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