Enum polar_core::terms::Pattern [−][src]
pub enum Pattern {
Dictionary(Dictionary),
Instance(InstanceLiteral),
}
Expand description
Represents a pattern in a specializer or after isa.
Variants
Dictionary(Dictionary)
Tuple Fields of Dictionary
0: Dictionary
Instance(InstanceLiteral)
Tuple Fields of Instance
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Pattern
impl UnwindSafe for Pattern
Blanket Implementations
Mutably borrows from an owned value. Read more