Struct dioxus_core::VFragment
source · [−]Expand description
A list of VNodes with no single root.
Fields
key: Option<&'src str>
The key of the fragment to be used during keyed diffing.
children: &'src [VNode<'src>]
Fragments can never have zero children. Enforced by NodeFactory.
You can make a fragment with no children, but it’s not a valid fragment and your VDom will panic.
Auto Trait Implementations
impl<'src> !RefUnwindSafe for VFragment<'src>
impl<'src> !Send for VFragment<'src>
impl<'src> !Sync for VFragment<'src>
impl<'src> Unpin for VFragment<'src>
impl<'src> !UnwindSafe for VFragment<'src>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more