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