Struct polar_core::terms::InstanceLiteral
source · pub struct InstanceLiteral {
pub tag: Symbol,
pub fields: Dictionary,
}
Fields§
§tag: Symbol
§fields: Dictionary
Trait Implementations§
source§impl Clone for InstanceLiteral
impl Clone for InstanceLiteral
source§fn clone(&self) -> InstanceLiteral
fn clone(&self) -> InstanceLiteral
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InstanceLiteral
impl Debug for InstanceLiteral
source§impl<'de> Deserialize<'de> for InstanceLiteral
impl<'de> Deserialize<'de> for InstanceLiteral
source§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
source§impl Display for InstanceLiteral
impl Display for InstanceLiteral
source§impl From<InstanceLiteral> for Pattern
impl From<InstanceLiteral> for Pattern
source§fn from(lit: InstanceLiteral) -> Self
fn from(lit: InstanceLiteral) -> Self
Converts to this type from the input type.
source§impl From<InstanceLiteral> for TestHelper<Pattern>
impl From<InstanceLiteral> for TestHelper<Pattern>
source§fn from(other: InstanceLiteral) -> Self
fn from(other: InstanceLiteral) -> Self
Converts to this type from the input type.
source§impl From<InstanceLiteral> for TestHelper<Value>
impl From<InstanceLiteral> for TestHelper<Value>
source§fn from(other: InstanceLiteral) -> Self
fn from(other: InstanceLiteral) -> Self
Converts to this type from the input type.
source§impl Hash for InstanceLiteral
impl Hash for InstanceLiteral
source§impl PartialEq for InstanceLiteral
impl PartialEq for InstanceLiteral
source§fn eq(&self, other: &InstanceLiteral) -> bool
fn eq(&self, other: &InstanceLiteral) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InstanceLiteral
impl Serialize for InstanceLiteral
impl Eq for InstanceLiteral
impl StructuralEq for InstanceLiteral
impl StructuralPartialEq for InstanceLiteral
Auto Trait Implementations§
impl RefUnwindSafe for InstanceLiteral
impl Send for InstanceLiteral
impl Sync for InstanceLiteral
impl Unpin for InstanceLiteral
impl UnwindSafe for InstanceLiteral
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