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
Tuple Fields of Dictionary
0: Dictionary
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
Auto Trait Implementations
impl RefUnwindSafe for Pattern
impl UnwindSafe for Pattern
Blanket Implementations
Mutably borrows from an owned value. Read more