pub enum Children {
None,
Any,
One,
Only(&'static [&'static str]),
}Expand description
What kind of children a component accepts.
Variants§
None
Any
Any nodes.
One
Exactly one node.
Only(&'static [&'static str])
Only the listed components (conditional nodes are not allowed).
Trait Implementations§
impl Copy for Children
impl Eq for Children
impl StructuralPartialEq for Children
Auto Trait Implementations§
impl Freeze for Children
impl RefUnwindSafe for Children
impl Send for Children
impl Sync for Children
impl Unpin for Children
impl UnsafeUnpin for Children
impl UnwindSafe for Children
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