pub enum TypeReference {
Expression(Box<TypeReferenceExpression>),
DataType(Box<TypeReferenceDataType>),
}
Variants§
Expression(Box<TypeReferenceExpression>)
DataType(Box<TypeReferenceDataType>)
Trait Implementations§
source§impl Clone for TypeReference
impl Clone for TypeReference
source§fn clone(&self) -> TypeReference
fn clone(&self) -> TypeReference
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 TypeReference
impl Debug for TypeReference
source§impl<'a> From<&'a TypeReference> for RefNode<'a>
impl<'a> From<&'a TypeReference> for RefNode<'a>
source§fn from(x: &'a TypeReference) -> Self
fn from(x: &'a TypeReference) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a TypeReference> for RefNodes<'a>
impl<'a> From<&'a TypeReference> for RefNodes<'a>
source§fn from(x: &'a TypeReference) -> Self
fn from(x: &'a TypeReference) -> Self
Converts to this type from the input type.
source§impl From<TypeReference> for AnyNode
impl From<TypeReference> for AnyNode
source§fn from(x: TypeReference) -> Self
fn from(x: TypeReference) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a TypeReference
impl<'a> IntoIterator for &'a TypeReference
source§impl PartialEq<TypeReference> for TypeReference
impl PartialEq<TypeReference> for TypeReference
source§fn eq(&self, other: &TypeReference) -> bool
fn eq(&self, other: &TypeReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.