pub struct Fragment {
pub children: Vec<Node>,
}
Expand description
A fragment.
<>
I'm in a fragment!
</>
Fields§
§children: Vec<Node>
The children of the fragment.
<>
<!-- I'm a child! -->
<child>I'm another child!</child>
</>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Fragment
impl Send for Fragment
impl Sync for Fragment
impl Unpin for Fragment
impl UnwindSafe for Fragment
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