Skip to main content

one

Function one 

Source
pub fn one<I>(shapes: I) -> Node
where I: IntoIterator, I::Item: Into<Spec>,
Expand description

The value must satisfy exactly one of the shapes.