Enum preserves_schema::gen::schema::Pattern [−][src]
pub enum Pattern { SimplePattern(Box<SimplePattern>), CompoundPattern(Box<CompoundPattern>), }
Variants
Tuple Fields of SimplePattern
0: Box<SimplePattern>
Tuple Fields of CompoundPattern
0: Box<CompoundPattern>
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Pattern
impl UnwindSafe for Pattern
Blanket Implementations
Mutably borrows from an owned value. Read more