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